CN111258570A - Building block programming-based method and device for adjusting building block input interface and electronic equipment - Google Patents

Building block programming-based method and device for adjusting building block input interface and electronic equipment Download PDF

Info

Publication number
CN111258570A
CN111258570A CN202010056142.5A CN202010056142A CN111258570A CN 111258570 A CN111258570 A CN 111258570A CN 202010056142 A CN202010056142 A CN 202010056142A CN 111258570 A CN111258570 A CN 111258570A
Authority
CN
China
Prior art keywords
building block
input interface
adjusting
building
standby
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.)
Granted
Application number
CN202010056142.5A
Other languages
Chinese (zh)
Other versions
CN111258570B (en
Inventor
牟春林
周义龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Jingyihui Information Technology Co ltd
Original Assignee
Suzhou Jingyihui Information Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Suzhou Jingyihui Information Technology Co ltd filed Critical Suzhou Jingyihui Information Technology Co ltd
Priority to CN202010056142.5A priority Critical patent/CN111258570B/en
Publication of CN111258570A publication Critical patent/CN111258570A/en
Application granted granted Critical
Publication of CN111258570B publication Critical patent/CN111258570B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a building block programming-based method, a building block programming-based device, electronic equipment and a computer-readable storage medium for adjusting building block input interfaces.

Description

Building block programming-based method and device for adjusting building block input interface and electronic equipment
Technical Field
The invention relates to the field of graphical information processing, in particular to a method and a device for adjusting a building block input interface based on building block programming, electronic equipment and a computer readable storage medium.
Background
The building block programming is increasingly used in the field of teenager education, and the technology can enable teenagers to realize the design of software logic in a mode similar to splicing of building blocks, teach through lively activities, and therefore software development difficulty and requirements are reduced. Due to the easy-to-use characteristic of the building block programming technology, the development of application software such as few internet of things software products and APP client software is also trying to introduce the technology so as to realize the rapid design and adjustment of software logic.
Among the current building blocks programming technique, to variable input interface building block, building block input interface increases and realizes through the method of setting up newly-increased list item building block, and how many input interface just need set up newly-increased how many list item building block, and building block input interface reduces also and realizes through the mode that sets up removal list item building block equally. When more logic conditions are needed, more newly added list item building blocks are set, and the list item building blocks need to be dragged one by one, so that time is consumed, and the modification and maintenance difficulty is high.
Disclosure of Invention
The present application has been made in view of the above-mentioned state of the art. Embodiments of the present application provide a method, an apparatus, an electronic device, and a computer-readable storage medium for adjusting a building block input interface based on building block programming, and aim to solve the problems of time consumption, and high modification and maintenance difficulty caused by increasing or decreasing building block input interfaces in the prior art.
According to one aspect of the application, there is provided a method of adjusting a building block input interface based on building block programming, the method comprising: acquiring an initial state of a first building block, wherein the first building block at least comprises a first standby input interface; receiving an access operation of a second building block to the first building block; generating a second alternate input interface for the first building block.
According to another aspect of the present application, there is provided an apparatus for adjusting a building block input interface based on building block programming, the apparatus comprising: the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring the initial state of a first building block, and the first building block at least comprises a first standby input interface; the receiving module is used for receiving the access operation of a second building block to the first building block; and the adjusting module is used for generating a second standby input interface of the first building block.
According to another aspect of the present application, there is provided an electronic device including: a processor; a memory; and computer program instructions stored in the memory, which when executed by the processor, cause the processor to perform the above-described method of adjusting a building block input interface based on building block programming.
According to another aspect of the application, a computer program product is provided, comprising computer program instructions which, when executed by a processor, cause the processor to perform the above-described method of adjusting a building block input interface based on building block programming.
According to another aspect of the present application, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the above-described method of adjusting a building block input interface based on building block programming.
Has the advantages that: compared with the prior art, the method, the device, the electronic equipment and the computer-readable storage medium for adjusting the building block input interface based on building block programming according to the embodiment of the application receive the operation of a second building block to access or move out of a first building block by acquiring the initial state of the first building block, adjust the number of the input interfaces of the first building block, realize automatic increase and decrease of the input interfaces of the building block, and solve the problems of time consumption, modification and high maintenance difficulty caused by increase or decrease of the input interfaces of the building block with the variable input interface in the prior art.
Drawings
The above and other objects, features and advantages of the present application will become more apparent by describing in more detail embodiments of the present application with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application.
FIG. 1 illustrates a schematic diagram of a prior art building block programming based adjusting building block input interface application scenario.
FIG. 2 illustrates a flow diagram of a method of adjusting a building block input interface based on building block programming according to an embodiment of the application.
FIG. 3a is a flowchart illustrating a specific implementation method of an input interface of a newly added building block according to an embodiment of the present application.
FIG. 3b illustrates a schematic diagram of an application scenario of a newly added building block input interface according to an embodiment of the present application.
FIG. 4 illustrates a flow diagram of a method of deleting a building block input interface in accordance with an embodiment of the application.
FIG. 5a illustrates a flow diagram of a specific implementation of a delete building block input interface according to an embodiment of the present application.
FIG. 5b illustrates a schematic diagram of an application scenario for deleting a building block input interface according to an embodiment of the application.
FIG. 6 illustrates a flow diagram of a method of deleting a building block input interface according to another embodiment of the present application.
FIG. 7a illustrates a flow diagram of a specific implementation of a delete building block input interface according to another embodiment of the present application.
FIG. 7b illustrates a schematic diagram of an application scenario for deleting a building block input interface according to another embodiment of the present application.
FIG. 8 illustrates a schematic block diagram of an apparatus for adjusting a building block input interface based on building block programming.
Fig. 9 illustrates a block diagram of an electronic device of an embodiment of the application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover non-exclusive inclusions, 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.
Summary of the application
As mentioned above, building block programming technology is increasingly popular, and in the existing building block programming technology, for a variable input interface building block, building block input interface increase is realized by setting a method of adding a new list item building block, how many new list item building blocks need to be set by how many input interfaces, and also building block input interface decrease is realized by setting a mode of removing the list item building blocks.
For convenience of understanding, fig. 1 of the present application illustrates a schematic diagram of an application scenario of an existing building block programming-based adjusting building block input interface, a variable input interface building block has two input interfaces for establishing a text slave, if an input interface of the building block for establishing the text slave is to be added, a 'set' button at the upper left corner needs to be clicked, a pop-up box appears, the pop-up box is divided into two regions, a building block 'item' in the left region is to add one item into the text, a building block 'item' in the right region is to drag the building block 'item' on the left side to the building block 'add', and the number of the building block 'establishing texts from' input interfaces is changed into three; and continuously dragging a new building block item from the left area to the building block adding from the right area, changing the building block text establishment number from the input interface number to four, and so on. If the input interface of the building block for establishing text from is reduced, the unused building block item needs to be removed from the building block item.
Building relevant logic by accessing conditional building blocks from an input interface for building blocks with "build text", but the following problems exist in the process of editing the building blocks:
1) for the condition that the prediction of the number of the accessed conditional building blocks is inaccurate, if the number of the input interfaces for building the text from the building blocks is insufficient, the setting button at the upper left corner needs to be clicked to reset so as to increase the input interfaces; on the contrary, if the number of the input interfaces of the building block for establishing the text slave is too large, redundant input interfaces occupy resources and are not attractive, the number of the input interfaces is reduced by clicking the button for setting the upper left corner, and therefore, no matter what kind of adjustment is adopted, the operation steps are too complicated;
2) for the condition that the number of building block input interfaces for building texts is too large, the condition that a pop-up box and a building block are not on a display page can occur, the screen needs to be rolled to increase or decrease the building block input interfaces, and modification and maintenance are very inconvenient.
Aiming at the defects in the prior art, the basic idea of the application is to receive the operation of the second building block to access or move out of the first building block by acquiring the initial state of the first building block, adjust the number of the input interfaces of the first building block and realize the automatic increase and decrease of the input interfaces of the building blocks.
Having described the basic concepts of the present application, various non-limiting embodiments of the present application will now be described with particular reference to the accompanying drawings.
FIG. 2 illustrates a flowchart of a method for adjusting a building block input interface based on building block programming according to an embodiment of the present application, and as shown in FIG. 2, the method for adjusting a building block input interface based on building block programming according to an embodiment of the present application may include steps S100, S200, and S300.
In step S100, an initial state of a first building block is obtained, the first building block at least comprising a first spare input interface.
The initial state comprises the condition of a first building block input interface and at least comprises a first standby input interface, the first building block is a variable input interface building block at first, the initial state of the first building block can be a building block only with the function of the variable input interface, and only one input interface, namely the first standby input interface, is initially provided.
The initial state of the first building block can also be a building block which is provided with a fixed input interface and a variable input interface at the same time, the fixed input interface can be a building block name assignment or other limited conditions, the number of the fixed input interfaces of the first building block cannot be influenced when the building block is connected or removed, the first standby input interface is positioned at the variable input interface part, and the number of the variable input interfaces of the first building block can be increased or reduced when the building block is connected or removed.
In step S200, an access operation of a second building block to the first building block is received.
And receiving the access operation of the second building block to the variable input interface of the first building block, in the embodiment of the application, the access operation to the first standby input interface of the first building block.
In step S300, a second alternate input interface of the first building block is generated.
In one example, the number of input interfaces of the first building block may be increased by the flow shown in FIG. 3 a.
FIG. 3a is a flowchart illustrating a specific implementation method of an input interface of a newly added building block according to an embodiment of the present application.
As shown in FIG. 3a, the method for generating the second alternative input interface of the first building block comprises steps S310, S320, S330 and S340.
In step S310, the first building block counter monitors the second building block for accessing the first spare input interface.
In step S320, the first building block counter generates a second index.
Presetting a first index corresponding to the first standby input interface.
The first building block comprises a counter, and when the second building block is connected into the first standby input interface of the first building block, the counter captures the connection operation and generates a new index.
In step S330, the first building block is re-rendered.
A change in the first block input interface causes a change in the shape of the first block, requiring the first block to be re-rendered.
In step S340, a second alternate input interface of the first building block is generated.
In one example, the change in the number of input interfaces of the first building block can be seen by the application scenario diagram as shown in FIG. 3 b.
FIG. 3b is a diagram illustrating an application scenario of a new building block input interface according to an embodiment of the present application, where as shown in FIG. 3b, a building block "build List from" is a building block with a variable input interface, a spare input interface is available by default, and the spare input interface index is "0" by default. When the building block condition 1 is accessed into the spare input interface of the building block establishment list slave, the counter value of the building block establishment list slave is increased by 1 to generate a new index 1, after re-rendering, the building block establishment list slave is changed into a spare input interface below, and the index of the spare input interface is 1.
In one example, to ensure the accuracy of the data type of the accessed building blocks, the method further comprises the following steps of: judging whether the data type of the second building block data is matched with the data type of the first standby input interface or not, and if the data types are matched, accessing the second building block to the first standby input interface; and if the data types are not matched, the second building block is refused to be accessed.
In one example, the number of input interfaces of the first building block may be reduced by the flow shown in FIG. 4.
FIG. 4 illustrates a flow diagram of a method of deleting a building block input interface in accordance with an embodiment of the application.
As shown in FIG. 4, in step S410, a move-out operation of the first alternate input interface is performed in accordance with the received second building block.
In step S420, the second spare input interface of the first building block is deleted.
FIG. 5a illustrates a flow diagram of a specific implementation of a delete building block input interface according to an embodiment of the present application.
On the basis of FIG. 4, in one example, the number of input interfaces of the first building block may be reduced by the flow shown in FIG. 5 a. As shown in FIG. 5a, the method for deleting the second alternative input interface of the first building block comprises a step S510, a step S520, a step S530 and a step S540.
In step S510, the first block counter monitors the second block for a move-out operation of the first alternate input interface.
In step S520, the first building block counter deletes the second index.
The first building block comprises a counter, when the second building block moves out of the first standby input interface of the first building block, the counter captures the moving-out operation, and simultaneously, the index corresponding to the second standby input interface is deleted.
In step S530, the first building block is re-rendered.
A change in the first block input interface causes a change in the shape of the first block, requiring the first block to be re-rendered.
In step S540, the second alternate input interface of the first building block is deleted.
In one example, the change in the number of input interfaces of the first building block can be seen by the application scenario diagram as shown in FIG. 5 b.
FIG. 5b is a schematic diagram illustrating an application scenario of deleting a building block input interface according to an embodiment of the present application, where as shown in FIG. 5b, a building block "build List from" is a building block with a variable input interface, an input interface index corresponding to a building block "Condition 1" is "0", an input interface index corresponding to a building block "Condition 2" is "1", an input interface below the building block "Condition 2" is a spare input interface, and a corresponding index is "2". When the building block condition 1 is moved out of the building block establishing list slave, the current index 0 is captured by a counter of the building block establishing list slave, the input interface with the index 2 is deleted from the building block establishing list slave, and after re-rendering, the building block establishing list slave is changed into a state that a standby input interface is arranged above the building block establishing list, and the index of the standby input interface is 0.
The idea of the embodiment of fig. 4, 5a, 5b is to first determine whether the row of the variable input interface corresponding to the moved conditional building block has content, and if no content exists, which conditional building block is moved out, and the counter of the variable input interface building block deletes the variable input interface corresponding to the conditional building block; if the content exists, the variable input interface corresponding to the condition building block is reserved, and the counter of the variable interface building block deletes the last standby input interface.
In one example, the number of input interfaces of the first building block may be reduced by the flow shown in FIG. 6.
FIG. 6 illustrates a flow diagram of a method of deleting a building block input interface according to another embodiment of the present application.
As shown in FIG. 6, in step S610, a move out operation of the first alternate input interface is performed in accordance with the received second building block.
In step S620, the first alternate input interface of the first building block is deleted.
FIG. 7a illustrates a flow diagram of a specific implementation of a delete building block input interface according to another embodiment of the present application.
Based on FIG. 6, in one example, the number of input interfaces of the first building block may be reduced by the flow shown in FIG. 7 a. As shown in FIG. 7a, the method for generating the second alternative input interface of the first building block comprises steps S710, S720, S730 and S740.
In step S710, the first building block counter monitors the second building block for a move-out operation of the first alternate input interface.
In step S720, the first building block counter deletes the first index.
The first building block comprises a counter, when the second building block moves out of the first standby input interface of the first building block, the counter captures the moving-out operation, and meanwhile, a first index corresponding to the first standby input interface is deleted.
In step S730, the first building block is re-rendered.
A change in the first block input interface causes a change in the shape of the first block, requiring the first block to be re-rendered.
In step S740, the first spare input interface of the first building block is deleted.
FIG. 7b is a diagram illustrating an application scenario of deleting a building block input interface according to another embodiment of the present application, where as shown in FIG. 7b, the building block "set up List from" is a building block with a variable input interface, the input interface index corresponding to the building block "Condition 1" is "0", the input interface index corresponding to the building block "Condition 2" is "1", the input interface below the building block "Condition 2" is a spare input interface, and the corresponding index is "2". When the condition 2 of the building block is moved out of the building block to establish the list slave, the counter of the building block to establish the list slave captures the current index 1, and the building block to establish the list slave deletes the input interface with the index 1; when the building block condition 1 is moved out of the building block establishing list slave, the current index 0 is captured by a counter of the building block establishing list slave, the input interface with the index 0 is deleted from the building block establishing list slave, and after re-rendering, the building block establishing list slave is changed into a spare input interface with the index 2.
Different from the embodiment shown in fig. 4, 5a, and 5b, it is necessary to first determine whether the row of the variable input interface corresponding to the moved conditional building block has content, and the idea of the embodiment shown in fig. 6, 7a, and 7b is to move out which conditional building block, the counter of the variable input interface building block deletes the variable input interface corresponding to the conditional building block, and if the conditional building block is the first spare input interface, the variable input interface building block is initialized.
Therefore, by adopting the method for adjusting the input interfaces of the building blocks based on the building block programming, the number of the input interfaces of the first building block can be adjusted by acquiring the initial state of the first building block, receiving the operation of the second building block to connect or remove the first building block, so that the input interfaces of the building blocks can be automatically increased or decreased, and the problems of time consumption, modification and high maintenance difficulty caused by increase or decrease of the input interfaces of the building blocks in the prior art are solved.
Specifically, the method for adjusting the building block input interface based on the building block programming according to the embodiment of the application has the following advantages:
1) the input interfaces of the building blocks with the variable input interfaces are automatically increased or decreased by switching in or out the building blocks without being realized by setting each time, so that the operation steps are greatly reduced, and the efficiency is improved; in addition, a standby input interface is always kept, a plurality of idle input interfaces cannot be generated, and resource occupation and waste are avoided;
2) the problem that when the number of the building blocks is large, the setting button and the input interface are not on the same page, and the screen needs to be rolled to complete setting is solved, and modification and maintenance of the building blocks are facilitated;
3) the embodiment that the variable input interface is not deleted when the content exists in the row simplifies the processing logic and prevents the inconvenience caused by deleting the content of the building block of the variable input interface;
4) by adopting the embodiment of data type checking, building blocks with the same data type can be accessed, so that the condition that the building blocks with the wrong type are accessed to cause error report of subsequent steps is prevented, the building blocks are required to be modified again, and the maintenance is troublesome and time-consuming.
FIG. 8 shows a block schematic diagram of a device for adjusting a building block input interface based on building block programming, according to FIG. 8 comprising:
an obtaining module 810, configured to obtain an initial state of a first building block, where the first building block at least includes a first spare input interface; a receiving module 820, configured to receive an access operation of a second building block to the first building block; and an adjusting module 830 for generating a second spare input interface of the first building block.
In one example, the adjustment module 830 can monitor the second building block for access to the first alternate input interface according to the first building block counter, the first building block counter generates a second index, re-renders the first building block, and generates a second alternate input interface for the first building block, wherein the second index corresponds to the second alternate input interface. The initial state of the first building block further comprises presetting a first index corresponding to the first standby input interface.
In one example, the adjustment module 830 may delete the second alternate input interface of the first building block in response to receiving a move out operation of the first alternate input interface by the second building block. Wherein, the first standby input interface is the first input interface of the first building block.
In one example, the adjustment module 830 may monitor the second building block for a move-out operation of the first alternate input interface based on the first building block counter deleting the second index, re-rendering the first building block, deleting the second alternate input interface of the first building block.
In one example, the adjustment module 830 may delete the first alternate input interface of the first building block in response to receiving a move out operation of the first alternate input interface by the second building block.
In one example, the adjustment module 830 may monitor the second building block for a move-out operation of the first alternate input interface based on the first building block counter deleting the first index, re-rendering the first building block, deleting the first alternate input interface of the first building block.
In an example, the adjusting module 830 may determine whether the second building block data type matches the data type of the first spare input interface, and if the data types match, access the second building block to the first spare input interface; and if the data types are not matched, the second building block is refused to be accessed.
It should be noted that: when the building block input interface is automatically adjusted by the building block programming-based building block input interface adjusting device provided by the embodiment, only the division of the functional modules is taken as an example, in practical application, the function distribution can be completed by different functional modules according to needs, that is, the internal structure of the computer equipment is divided into different functional modules so as to complete all or part of the functions described above. In addition, the building block programming based device for adjusting a building block input interface provided in the above embodiments and the building block programming based method for adjusting a building block input interface provided in the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the building block programming based method for adjusting a building block input interface, and are not described herein again.
As described above, the apparatus for adjusting a building block input interface based on building block programming according to an embodiment of the present application may be implemented in a PC or a mobile device.
In one example, the apparatus for adjusting a building block input interface based on building block programming according to embodiments of the present application may be integrated into the PC or mobile device as a software module and/or a hardware module. For example, the means for adjusting the building block input interface based on building block programming may be a software module in the application system of the PC or mobile device, or may be a program plug-in developed for the PC or mobile device; of course, the means for adjusting the building block input interface based on the building block programming could equally be one of many hardware modules of the PC or mobile device.
Exemplary electronic device
FIG. 9 illustrates a block diagram of an electronic device in accordance with an embodiment of the present application.
As shown in fig. 9, the electronic device 9 includes one or more processors 11 and a memory 12.
The processor 11 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device 9 to perform desired functions.
Memory 12 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 11 to implement the block programming based method of adjusting a building block input interface of the various embodiments of the present application described above and/or other desired functionality.
In one example, the electronic device 9 may further include: an input device 13 and an output device 14, which are interconnected by a bus system and/or other form of connection mechanism (not shown). For example, the input device 13 may include, for example, a keyboard, a mouse, and the input device 13 may include various devices such as a touch pad, a camera, and the like. The output devices 14 may include, for example, a display, speakers, a printer, and a communication network and its connected remote output devices, among others.
Of course, for the sake of simplicity, only some of the components of the electronic device 9 relevant to the present application are shown in fig. 9, and components such as a bus, an input/output interface, and the like are omitted. In addition, the electronic device 9 may comprise any other suitable components, depending on the specific application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatus, embodiments of the present application may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in a method of building block programming based adjustment of a building block input interface according to various embodiments of the present application described in the "exemplary methods" section above of this specification.
The computer program product may be written with program code for performing the operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the steps in the method of building block programming based adjustment of a building block input interface described in the detailed embodiments section of this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present application in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present application are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present application. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the foregoing disclosure is not intended to be exhaustive or to limit the disclosure to the precise details disclosed.
The block diagrams of devices, apparatuses, systems referred to in this application are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
It should also be noted that in the methods, apparatus and devices of the present application, steps or components may be broken down and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the application. Thus, the present application is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the application to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (11)

1. A method for adjusting a building block input interface based on building block programming, the method comprising:
acquiring an initial state of a first building block, wherein the first building block at least comprises a first standby input interface;
receiving an access operation of a second building block to the first building block;
generating a second alternate input interface for the first building block.
2. The building block programming based method of adjusting building block input interfaces of claim 1, wherein generating the second alternate input interface for the first building block comprises:
a first building block counter monitors the access operation of the second building block to the first standby input interface;
the first building block counter generates a second index;
re-rendering the first building block;
generating a second standby input interface of the first building block;
wherein the second index corresponds to the second spare input interface.
3. A method for building block programming based adjustment of a building block input interface as in claim 2, wherein a move out operation of a second building block to the first building block is received and the second alternate input interface of the first building block is deleted.
4. A method for building block programming based adjustment of building block input interfaces as in claim 3 wherein said removing of said second alternate input interface of said first building block comprises:
the first building block counter monitors the moving-out operation of the second building block to the first standby input interface;
the first building block counter deletes the second index;
re-rendering the first building block;
and deleting the second standby input interface of the first building block.
5. A method for building block programming based adjustment of a building block input interface as in claim 2, wherein a move out operation of a second building block to the first building block is received and the first alternate input interface of the first building block is deleted.
6. The building block programming based method of adjusting building block input interfaces of claim 5, wherein the initial state of the first building block further comprises presetting a first index corresponding to a first alternate input interface.
7. The building block programming based method of adjusting building block input interfaces of claim 6, wherein said deleting a first alternate input interface of the first building block comprises:
the first building block counter monitors the moving-out operation of the second building block to the first standby input interface;
the first block counter deletes the first index;
re-rendering the first building block;
and deleting the first standby input interface of the first building block.
8. A method for building block programming based adjustment of a building block input interface as in claim 1 or 2, wherein said receiving an access operation of said second building block to said first alternate input interface further comprises:
judging whether the data type of the second building block data is matched with the data type of the first standby input interface or not, and if the data types are matched, accessing the second building block to the first standby input interface; and if the data types are not matched, the second building block is refused to be accessed.
9. A building block programming based apparatus for adjusting a building block input interface, the apparatus comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring the initial state of a first building block, and the first building block at least comprises a first standby input interface;
the receiving module is used for receiving the access operation of a second building block to the first building block;
and the adjusting module is used for generating a second standby input interface of the first building block.
10. An electronic device, comprising:
a processor;
a memory; and
computer program instructions stored in the memory, which, when executed by the processor, cause the processor to perform the method of any of claims 1-8.
11. A computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1-8.
CN202010056142.5A 2020-01-19 2020-01-19 Building block programming-based method and device for adjusting building block input interface and electronic equipment Active CN111258570B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010056142.5A CN111258570B (en) 2020-01-19 2020-01-19 Building block programming-based method and device for adjusting building block input interface and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010056142.5A CN111258570B (en) 2020-01-19 2020-01-19 Building block programming-based method and device for adjusting building block input interface and electronic equipment

Publications (2)

Publication Number Publication Date
CN111258570A true CN111258570A (en) 2020-06-09
CN111258570B CN111258570B (en) 2021-03-26

Family

ID=70947173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010056142.5A Active CN111258570B (en) 2020-01-19 2020-01-19 Building block programming-based method and device for adjusting building block input interface and electronic equipment

Country Status (1)

Country Link
CN (1) CN111258570B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782206A (en) * 2020-09-04 2020-10-16 苏州精易会信息技术有限公司 Building block programming-based method and device for adjusting building block input interface and electronic equipment
CN112068823A (en) * 2020-09-04 2020-12-11 苏州精易会信息技术有限公司 Method and device for dynamically generating object building blocks based on attribute list and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103552071A (en) * 2013-10-16 2014-02-05 无锡信捷电气股份有限公司 Intelligent robot programming method
CN107441735A (en) * 2017-09-04 2017-12-08 广州途道信息科技有限公司 The self-programming method and electronic building blocks of a kind of electronic building blocks
CN108766118A (en) * 2018-08-24 2018-11-06 杭州高低科技有限公司 It is easily programmed the tangible programming building blocks of education
US20180321915A1 (en) * 2015-06-23 2018-11-08 Open Text Sa Ulc Compositional entity modeling systems and methods

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103552071A (en) * 2013-10-16 2014-02-05 无锡信捷电气股份有限公司 Intelligent robot programming method
US20180321915A1 (en) * 2015-06-23 2018-11-08 Open Text Sa Ulc Compositional entity modeling systems and methods
CN107441735A (en) * 2017-09-04 2017-12-08 广州途道信息科技有限公司 The self-programming method and electronic building blocks of a kind of electronic building blocks
CN108766118A (en) * 2018-08-24 2018-11-06 杭州高低科技有限公司 It is easily programmed the tangible programming building blocks of education

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782206A (en) * 2020-09-04 2020-10-16 苏州精易会信息技术有限公司 Building block programming-based method and device for adjusting building block input interface and electronic equipment
CN112068823A (en) * 2020-09-04 2020-12-11 苏州精易会信息技术有限公司 Method and device for dynamically generating object building blocks based on attribute list and electronic equipment
CN112068823B (en) * 2020-09-04 2024-06-07 苏州精易会信息技术有限公司 Method and device for dynamically generating object building block based on attribute list and electronic equipment

Also Published As

Publication number Publication date
CN111258570B (en) 2021-03-26

Similar Documents

Publication Publication Date Title
KR102565360B1 (en) Method and device for testing map service
JP6598848B2 (en) Presenting the computing environment on multiple devices
CN111258570B (en) Building block programming-based method and device for adjusting building block input interface and electronic equipment
US11720370B2 (en) Electronic apparatus and method of executing application program
CN103428251A (en) Download task allocation method and device
WO2015035897A1 (en) Search methods, servers, and systems
US20240119526A1 (en) Target recommendation method and apparatus, and storage medium
CN105718143A (en) Screen capturing method and screen capturing apparatus
CN110633130A (en) Virtual memory management method and device based on memory hot plug technology
CN113076499A (en) Page interaction method, device, equipment, medium and program product
CN111782206B (en) Building block programming-based method and device for adjusting building block input interface and electronic equipment
CN110647327B (en) Method and device for dynamic control of user interface based on card
JP2022524670A (en) Applet material processing methods, appliances, electronic devices, computer-readable storage media and computer programs
CN111931708A (en) Form generation method and device
KR20230127195A (en) Content box providing method and user device
WO2018161761A1 (en) Wireless network access method, terminal and storage medium
US20180181289A1 (en) Sizing applications based on display parameters
CN117454457A (en) Drawing annotation arrangement method, system and related equipment
US11481088B2 (en) Dynamic data density display
US10313978B2 (en) Electronic apparatus and control method thereof
CN113890872B (en) Data set uploading method and device, electronic equipment and storage medium
CN117093112A (en) Rule configuration and content display method and related equipment
CN110347641B (en) File processing method and device, storage medium and electronic device
US20160179727A1 (en) Peripheral component interface (pci) system and method for expanding pci nodes in an information handling system
CN117950663A (en) Method, device, equipment and medium for developing web page through fusion development tool

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
CB02 Change of applicant information

Address after: 215123 room 402, building 1, maishanlong building, 168 Yuxin Road, Suzhou Industrial Park, Jiangsu Province

Applicant after: SUZHOU JINGYIHUI INFORMATION TECHNOLOGY Co.,Ltd.

Address before: Room 503, HaoChen building, 286 Dongping street, Suzhou Industrial Park, Jiangsu Province

Applicant before: SUZHOU JINGYIHUI INFORMATION TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant