Interface updating method, product editing system and medium

By receiving and sending interface update information in the product editing system, and determining whether the interface is reloaded based on the update data, the problem of slow interface update speed in the prior art is solved, and more efficient interface update and product design efficiency are achieved.

CN119960876APending Publication Date: 2025-05-09PRIMARIUS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411963009.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

The existing interface update method will synchronize all other subwindows during editing operations, resulting in slow synchronization update speed and reduce product design efficiency.

Method used

By receiving the interface update information sent by the first interface and sending it to each second interface, the second interface determines whether there is update data, and reloads if it exists, otherwise it will not reload, thereby realizing the update of some interfaces.

Benefits of technology

Reduce the number of second interfaces that need to be reloaded, improve synchronous update speed, optimize update logic, and improve product design efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119960876A_ABST
    Figure CN119960876A_ABST
Patent Text Reader

Abstract

The invention relates to an interface updating method, a product editing system and a medium, when a first interface is executing editing operation, interface updating information sent by the first interface is received and sent to each second interface, the second interface judges whether updating data exists in the current second interface or not, and if yes, the product editing operation is executed. If yes, the data of the current second interface is reloaded to complete the updating operation of the updated data, and if not, the current second interface is not reloaded; by directly sending the interface updating information to the second interface and identifying the interface updating information, the second interface which needs to be reloaded is distinguished, and the second interface which does not need to be reloaded is distinguished, so that the updating of part of the second interface is realized, the whole second interface does not need to be updated in the process, and the updating efficiency is improved. The number of the second interfaces needing to be reloaded is reduced, so that the synchronous updating speed is increased, the updating logic is optimized, and the product design efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to an interface updating method, a product editing system and a medium. Background Art

[0002] The existing product editing system is capable of performing detailed design and editing of complex large-scale products. This product editing system mostly uses a design software framework, and then adds a variety of controls and plug-ins to this design software framework to make the design software framework meet the design requirements of its own product editing system. The design software framework includes an interface framework. The interface framework uses a main window to preview large products in the form of images, and uses sub-windows to preview and edit small components in large products. During the design process of a large product, there are small components that are associated with some sub-windows. When editing this small component in one of the sub-windows, in order to avoid update omissions, the existing interface framework will synchronously update all other sub-windows, which will result in a slow synchronous update speed for this product and reduce product design efficiency. Summary of the invention

[0003] In view of the above problems, the present invention provides an interface update method, a product editing system and a medium, which solves the problem that the existing interface update method will synchronously update all other sub-windows when an update is needed, resulting in slow synchronous update speed of the product and reduced product design efficiency.

[0004] To achieve the above object, in a first aspect, the present invention provides an interface updating method, comprising:

[0005] Receiving interface update information sent by the first interface, the interface update information including update data of the first interface within a preset time period, the first interface being the interface on which the editing operation is being performed;

[0006] Sending interface update information to each second interface, where the second interface is an interface on which no editing operation is performed;

[0007] The second interface receives the interface update information and determines whether the current second interface has updated data. If so, the current second interface is reloaded according to the updated data; if not, the current second interface is not reloaded.

[0008] In some embodiments, before receiving the interface update information sent by the first interface, the method further includes:

[0009] Capturing the operation instructions of the first interface;

[0010] Determine whether the operation instruction belongs to the data editing instruction in the current first interface, and if so, modify the data content in the first interface according to the operation instruction, and record the modified data content in the first interface as updated data;

[0011] Generate interface update information based on update data and send it.

[0012] In some embodiments, the interface update information further includes identification information of the update data, and generating and sending the interface update information according to the update data further includes:

[0013] Obtaining identification information corresponding to the data content changed in the first interface;

[0014] The identification information and the update data are mapped and stored to generate interface update information.

[0015] In some embodiments, sending the interface update information to each second interface further includes:

[0016] Sending identification information in the interface update information to each second interface;

[0017] Determining whether there is updated data in the current second interface also includes:

[0018] receiving identification information;

[0019] Determine whether the current second interface has identification information;

[0020] If so, the interface update information is obtained, and the current second interface is reloaded according to the updated data.

[0021] In some embodiments, the first interface has a first preview pane, and the first preview pane is used to preview the graphic data in the first interface;

[0022] Modifying the data content in the first interface according to the operation instruction also includes:

[0023] It is determined whether the data type corresponding to the modified data content in the first interface is graphic data. If so, the graphic data in the first preview pane is reloaded according to the modified data content in the first interface.

[0024] In some embodiments, modifying the data content in the first interface according to the operation instruction and recording the modified data content in the first interface as updated data further includes:

[0025] Generate a prompt selection box and pop it up, the prompt selection box is used to prompt whether to synchronously update the data content in the second interface;

[0026] A first feedback instruction inputted on the prompt selection box is received, and interface update information is generated and sent according to the first feedback instruction, wherein the first feedback instruction is used to synchronously update the data content in the second interface.

[0027] In some embodiments, before modifying the data content in the first interface according to the operation instruction, the method further includes:

[0028] The data content before modification in the current first interface is recorded as historical data and stored.

[0029] In some embodiments, the second interface has a second preview pane, and the second preview pane is used to preview the graphic data in the second interface;

[0030] Reloading the current second interface according to the updated data also includes:

[0031] It is determined whether the data type of the updated data is graphic data, and if so, the graphic data in the second preview pane is reloaded according to the updated data.

[0032] In a second aspect, the present invention also provides a product editing system, comprising a product to be edited, multiple editing interfaces and an interface update plug-in, wherein the product to be edited comprises multiple units to be edited; each editing interface corresponds to a unit to be edited; the interface update plug-in is used to execute the interface update method described in the first aspect to update the editing interface.

[0033] In a third aspect, the present invention further provides a computer-readable storage medium storing computer program instructions. In some embodiments, the computer program instructions implement the method described in the first aspect when executed by a processor.

[0034] Different from the prior art, in the above technical solution, when the first interface is performing an editing operation, the interface update information sent by the first interface is received, and the interface update information is sent to each second interface. The second interface determines whether the update data exists in the current second interface. If it does, the data of the current second interface is reloaded to complete the update operation of the update data. If it does not exist, the current second interface is not reloaded. This technical solution sends this interface update information directly to the second interface, identifies this interface update information, distinguishes the second interface that needs to be reloaded from the second interface that does not need to be reloaded, thereby realizing the update of part of the second interface. This process does not require the update of all the second interfaces, reduces the number of second interfaces that need to be reloaded, and thus improves the synchronous update speed, optimizes the update logic, and improves product design efficiency.

[0035] The above-mentioned records related to the content of the invention are only an overview of the technical solution of the present invention. In order to enable ordinary technicians in the field to more clearly understand the technical solution of the present invention, and then implement it according to the text of the specification and the contents recorded in the drawings, and in order to make the above-mentioned purpose and other purposes, features and advantages of the present invention easier to understand, the following is a description in combination with the specific implementation mode of the present invention and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings are only used to illustrate the principles, implementations, applications, features and effects of the specific embodiments of the present invention and other related contents, and shall not be considered as limiting the present invention.

[0037] In the drawings of the specification:

[0038] Figure 1 This is a step diagram of an interface updating method according to a specific embodiment of the present invention;

[0039] Figure 2 This is a schematic diagram of the editing interface before updating according to a specific implementation mode of the present invention;

[0040] Figure 3 It is a schematic diagram of the editing interface after updating according to a specific implementation manner of the present invention.

[0041] The reference numerals in the above drawings are described as follows:

[0042] 1. Interface;

[0043] 11. Preview pane;

[0044] 2. Graphic data. DETAILED DESCRIPTION

[0045] In order to explain in detail the possible application scenarios, technical principles, specific schemes that can be implemented, and the purposes and effects of the present invention, the following is a detailed description in combination with the specific embodiments listed and the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of the present invention, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present invention.

[0046] Reference to "embodiment" herein means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The word "embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or association with other embodiments. In principle, in the present invention, as long as there is no technical contradiction or conflict, the various technical features mentioned in each embodiment can be combined in any way to form a corresponding implementable technical solution.

[0047] Unless otherwise defined, the technical terms used herein have the same meanings as those generally understood by those skilled in the art to which the present invention belongs; the use of relevant terms herein is only for describing specific embodiments and is not intended to limit the present invention.

[0048] In the description of the present invention, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that three relationships may exist, for example, A and / or B, which means: A exists, B exists, and A and B exist at the same time. In addition, the character " / " in this article generally indicates that the objects before and after are in a logical relationship of "or".

[0049] In the present invention, terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.

[0050] Without further restrictions, in the present invention, the words "include", "comprises", "has" or other similar open-ended expressions used in sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.

[0051] Similar to the understanding in the Examination Guidelines, in the present invention, expressions such as "greater than", "less than", "exceed" and the like are understood to exclude the number itself; expressions such as "above", "below", "within" and the like are understood to include the number itself. In addition, in the description of the embodiments of the present invention, the meaning of "multiple" is more than two (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups", "multiple times", etc., unless otherwise clearly and specifically limited.

[0052] See also Figure 1 In a first aspect, this embodiment provides an interface updating method, comprising:

[0053] S11, receiving interface update information sent by the first interface, the interface update information including update data of the first interface within a preset time period, the first interface being the interface on which an editing operation is being performed;

[0054] S12, sending the interface update information to each second interface, where the second interface is an interface on which no editing operation is performed;

[0055] S13, the second interface receives the interface update information, and determines whether there is updated data in the current second interface;

[0056] S14: If yes, reload the current second interface according to the updated data;

[0057] S15: If not, the current second interface is not reloaded.

[0058] In this embodiment, the first interface is an interface that is performing editing operations. Specifically, the first interface can be understood as a sub-window in the product editing system that is in the editing state. Optionally, when the main window in the product editing system also has an editing function, the first interface can also be understood as the main window in the product editing system that is in the editing state. The second interface is an interface that is not performing editing operations. Similarly, the second interface can be understood as the remaining sub-windows that are not in the editing state. The second interface can also be understood as the main window that is not in the editing state. In this embodiment, there are multiple second interfaces, and at least a part of the data in the second interface is associated with the data in the first interface. It should be noted that the association between the data can be understood as whether the product data in the first interface exists in the second interface, or whether the product data in the current second interface is generated based on the product data in the first interface.

[0059] Furthermore, taking the update process of a product as an example, the update steps of the above method are understood: the current product includes multiple product components, one of which is performing an editing operation. For the convenience of expression, the interface corresponding to this product component is the first interface, and this product component is recorded as the first component. The interfaces of the remaining product components in the same product are the second interface, and the remaining product components are recorded as the second components. When the first component in the first interface is edited, the interface plug-in of the first interface collects the update data within the editing time period, packages the update data into interface update information and sends it to the interface update plug-in. The interface update plug-in sends this interface update information to each second interface. The interface plug-in in each second interface determines whether the update data of the first component in the interface update information is associated with the data of the second component in the current second interface. If so, the data of the second component in the second interface is reloaded according to the update data to complete the synchronous update of the second component. If not, the second interface is not reloaded.

[0060] This embodiment identifies interface update information, distinguishes between second interfaces that need to be reloaded and second interfaces that do not need to be reloaded, thereby updating part of the second interfaces, reducing the number of second interfaces that need to be reloaded, thereby improving the synchronous update speed, optimizing the update logic, and improving product design efficiency.

[0061] In some embodiments, before receiving the interface update information sent by the first interface, the method further includes:

[0062] Capturing the operation instructions of the first interface;

[0063] Determine whether the operation instruction belongs to the data editing instruction in the current first interface, and if so, modify the data content in the first interface according to the operation instruction, and record the modified data content in the first interface as updated data;

[0064] Generate interface update information based on update data and send it.

[0065] In this embodiment, the operation instruction can be understood as the instruction input by the user at the first interface. It is determined whether this operation instruction is a data editing instruction in the current first interface. This determination method can be specifically obtained by matching the control type corresponding to the operation instruction. If the control type belongs to the data editing control for the product, it is determined that the current operation instruction belongs to the data editing instruction in the current first interface.

[0066] After the data content in the first interface is modified according to the operation, the modified data content in the first interface is recorded as updated data, and interface update information is generated and sent according to the updated data.

[0067] As an optional embodiment, a preset time period can be set to periodically collect modified data content in the first interface and generate interface update information. This method facilitates asynchronous updates in the second interface when the data content in the first interface is frequently modified.

[0068] In some embodiments, the interface update information further includes identification information of the update data, and generating and sending the interface update information according to the update data further includes:

[0069] Obtaining identification information corresponding to the data content changed in the first interface;

[0070] The identification information and the update data are mapped and stored to generate interface update information.

[0071] In this embodiment, the identification information is the identification of the currently changed data content. For example, if the length value of product A is changed in the first interface, the identification information is the length of product A, and the data content is the modified length value. For another example, if the manufacturing material of product A is changed in the first interface, the identification information is the manufacturing material of product A, and the data content is the modified material model.

[0072] In some embodiments, sending the interface update information to each second interface further includes:

[0073] Sending identification information in the interface update information to each second interface;

[0074] Determining whether there is updated data in the current second interface also includes:

[0075] receiving identification information;

[0076] Determine whether the current second interface has identification information;

[0077] If so, the interface update information is obtained, and the current second interface is reloaded according to the updated data.

[0078] In this embodiment, the interface update plug-in sends the identification information in the interface update information to each second interface, and the interface plug-in of each second interface identifies the identification information and determines whether this identification information exists in the current second interface. If so, it means that the current second interface is associated with the first interface, and further obtains the updated data in the interface update information, and reloads the current second interface according to the updated data.

[0079] This embodiment uses identification information to identify and filter update data, and does not need to send update data to the second interface during this identification phase, thereby improving the efficiency of information transmission between the interface update plug-in and multiple second interfaces, and further improving the update rate of multiple interfaces.

[0080] See also Figure 2 and Figure 3 In some embodiments, the first interface 1 has a first preview pane 11, and the first preview pane 11 is used to preview the graphic data 2 in the first interface 1;

[0081] Modifying the data content in the first interface according to the operation instruction also includes:

[0082] It is determined whether the data type corresponding to the modified data content in the first interface is graphic data. If so, the graphic data in the first preview pane is reloaded according to the modified data content in the first interface.

[0083] In this embodiment, the first preview pane 11 is as follows Figure 2 As shown, the first preview pane 11 can be used to preview the graphic data 2 of the current product. After the graphic data 2 in the first preview pane 11 is modified, the first preview pane 11 will reload the graphic data 2 of this product. Figure 3 Optionally, when the first preview pane 11 includes graphic data 2 of multiple views, the loading timing of the graphic data 2 of the multiple views is kept synchronous, so as to facilitate the user to preview the product in real time.

[0084] In some embodiments, modifying the data content in the first interface according to the operation instruction and recording the modified data content in the first interface as updated data further includes:

[0085] Generate a prompt selection box and pop it up, the prompt selection box is used to prompt whether to synchronously update the data content in the second interface;

[0086] A first feedback instruction inputted on the prompt selection box is received, and interface update information is generated and sent according to the first feedback instruction, wherein the first feedback instruction is used to synchronously update the data content in the second interface.

[0087] This embodiment adds a prompt box, which pops up when the data content in the first interface is modified. When the user does not need to update synchronously, the updated data of the current first interface is retained, and the interface update step is not executed for the remaining second interfaces. When the user needs to update synchronously, the interface update step of the second interface is executed. By setting the prompt box, this embodiment can determine whether to update according to the actual needs of the user, so as to further reduce the computing load of the product editing system.

[0088] In some embodiments, before modifying the data content in the first interface according to the operation instruction, the method further includes:

[0089] The data content before modification in the current first interface is recorded as historical data and stored.

[0090] In this embodiment, the data content modified in the current first interface is recorded as historical data and stored, so that when the user makes an erroneous operation, the data content before the modification can be restored in time.

[0091] In some embodiments, the second interface has a second preview pane, and the second preview pane is used to preview the graphic data in the second interface;

[0092] Reloading the second interface according to the updated data also includes:

[0093] It is determined whether the data type of the updated data is graphic data; if so, the graphic data in the second preview pane is reloaded according to the updated data.

[0094] This embodiment can further distinguish the updated data according to the data type of the updated data. When the updated data is graphic data, the graphic data in the second preview pane will also be updated when the second interface is reloaded. When the user switches to the second interface, the graphic data in the second preview pane is kept in the latest state, which is convenient for the user to edit the data content in the second interface and optimize the user experience.

[0095] This embodiment also provides a product editing system, including a product to be edited, multiple editing interfaces and an interface update plug-in, the product to be edited includes multiple units to be edited; each editing interface corresponds to a unit to be edited; the interface update plug-in is used to execute the interface update method described in the first aspect to update the editing interface.

[0096] The product editing system shown in this embodiment can be a 3D software editing system, a 2D software editing system, an electrical layout design system, etc. The product to be edited includes multiple units to be edited, and each editing interface is used to edit a unit to be edited.

[0097] In a third aspect, this embodiment further provides a computer-readable storage medium on which computer program instructions are stored. In some embodiments, the computer program instructions implement the method described in the first aspect when executed by a processor.

[0098] In the above technical solution, when the first interface is performing an editing operation, the interface update information sent by the first interface is received, and the interface update information is sent to each second interface. The second interface determines whether the update data exists in its own interface. If so, the data of its own interface is reloaded to complete the update operation of the update data. If not, the interface itself is not reloaded. This technical solution sends this interface update information directly to the second interface, and each second interface identifies this interface update information, thereby realizing the update of part of the second interface. This process does not require the update of all the second interfaces, reducing the number of second interfaces that need to be reloaded, thereby improving the synchronous update speed, optimizing the update logic, and improving product design efficiency.

[0099] Finally, it should be noted that although the above embodiments have been described in the specification and drawings of the present invention, the patent protection scope of the present invention cannot be limited thereby. All technical solutions generated by replacing or modifying equivalent structures or equivalent processes based on the essential concept of the present invention and using the contents recorded in the specification and drawings of the present invention, as well as directly or indirectly implementing the technical solutions of the above embodiments in other related technical fields, are included in the patent protection scope of the present invention.

Claims

1. An interface updating method, characterized in that: include: Receiving interface update information sent by a first interface, the interface update information including update data of the first interface within a preset time period, the first interface being an interface for performing an editing operation; Sending the interface update information to each second interface, where the second interface is an interface on which no editing operation is performed; The second interface receives the interface update information and determines whether the current second interface has the update data. If so, the current second interface is reloaded according to the update data; if not, the current second interface is not reloaded.

2. The interface updating method according to claim 1, characterized in that: Before receiving the interface update information sent by the first interface, the method further includes: Capturing operation instructions of the first interface; Determine whether the operation instruction belongs to the data editing instruction in the current first interface, and if so, modify the data content in the first interface according to the operation instruction, and record the modified data content in the first interface as updated data; Generate and send interface update information according to the update data.

3. The interface updating method according to claim 2, characterized in that: The interface update information also includes identification information of the update data, and generating the interface update information according to the update data and sending the information also includes: Acquire identification information corresponding to the data content changed in the first interface; The identification information and the update data are mapped and stored to generate the interface update information.

4. The interface updating method according to claim 3, characterized in that: The step of sending the interface update information to each second interface further comprises: Sending the identification information in the interface update information to each second interface; Determining whether the second interface currently has the updated data further includes: receiving the identification information; Determining whether the second interface currently has the identification information; If so, the interface update information is obtained, and the current second interface is reloaded according to the update data.

5. The interface updating method according to claim 2, characterized in that: The first interface has a first preview pane, and the first preview pane is used to preview the graphic data in the first interface; Modifying the data content in the first interface according to the operation instruction also includes: Determine whether the data type corresponding to the modified data content in the first interface is graphic data; if so, reload the graphic data in the first preview pane according to the modified data content in the first interface.

6. The interface updating method according to claim 2, characterized in that: Modifying the data content in the first interface according to the operation instruction, and recording the modified data content in the first interface as updated data further includes: Generate a prompt selection box and pop it up, the prompt selection box is used to prompt whether to synchronously update the data content in the second interface; A first feedback instruction input on the prompt selection box is received, and interface update information of the update data is generated and sent according to the first feedback instruction, wherein the first feedback instruction is used to synchronously update the data content in the second interface.

7. The interface updating method according to claim 2, characterized in that: Before modifying the data content in the first interface according to the operation instruction, the method further includes: The data content before modification in the current first interface is recorded as historical data and stored.

8. The interface updating method according to claim 1, characterized in that: The second interface has a second preview pane, and the second preview pane is used to preview the graphic data in the second interface; Reloading the current second interface according to the updated data further includes: It is determined whether the data type of the updated data is graphic data; if so, the graphic data in the second preview pane is reloaded according to the updated data.

9. A product editing system, characterized in that: include: A product to be edited, wherein the product to be edited includes a plurality of units to be edited; A plurality of editing interfaces, each of which corresponds to a unit to be edited; An interface update plug-in, wherein the interface update plug-in is used to execute the interface update method according to any one of claims 1 to 8 to update the editing interface.

10. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 8 when executed by a processor.