CN112817582A - Code processing method and device, computer equipment and storage medium - Google Patents

Code processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN112817582A
CN112817582A CN202110247329.8A CN202110247329A CN112817582A CN 112817582 A CN112817582 A CN 112817582A CN 202110247329 A CN202110247329 A CN 202110247329A CN 112817582 A CN112817582 A CN 112817582A
Authority
CN
China
Prior art keywords
control
name
code
interface
control name
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
CN202110247329.8A
Other languages
Chinese (zh)
Other versions
CN112817582B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110247329.8A priority Critical patent/CN112817582B/en
Publication of CN112817582A publication Critical patent/CN112817582A/en
Application granted granted Critical
Publication of CN112817582B publication Critical patent/CN112817582B/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/33Intelligent editors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

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

Abstract

The application discloses a code processing method, a code processing device, computer equipment and a storage medium. The method comprises the following steps: displaying interface data sent by a client on a graphical user interface provided by an interface editor, wherein the interface data comprise control names of a plurality of controls in the client; generating a control tree according to the interface data, wherein the control tree comprises control names of a plurality of controls; responding to code query operation aiming at a target control name on a graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to position the preset coding tool to a code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names, so that a user does not need to record the code position through a document in advance and inquire the code position through the document, and the code position can be quickly positioned.

Description

Code processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a code processing method and apparatus, a computer device, and a storage medium.
Background
In the prior art, an interface editor is usually used to program an interface, and there are two main programming methods. One method is to edit and generate an interface resource file, and then a programmer writes codes in a coding tool to read the interface resources and simultaneously realize related logic codes. Another method is that after the resource file is generated by the editor, the resource file is converted into an interface code template by an encoding tool, and a programmer further writes logic codes on the template.
In any method, after the interface logic is realized, an editor cannot intervene any more, and if subsequent interface resources need to be modified, a programmer needs to search for the code position needing to be modified through a record document. However, if the interface nests many other resources and uses many dynamic callback functions, the document is often difficult to record. In addition, as the number of interfaces increases, the complexity increases, and the difficulty of a programmer to quickly locate a certain piece of code also increases gradually. For a running client, breakpoint debugging can be performed only through a debugging mode, and the dynamic interface structure and data in the client can be checked, so that the efficiency is low and the client is not intuitive.
Disclosure of Invention
The embodiment of the application provides a code processing method, a code processing device, computer equipment and a storage medium, which can be used for quickly positioning a code position.
An embodiment of the present application provides a code processing method, including:
displaying interface data sent by a client on a graphical user interface provided by an interface editor, wherein the interface data comprise control names of a plurality of controls in the client;
generating a control tree according to the interface data, wherein the control tree comprises control names of the plurality of controls;
responding to code query operation aiming at a target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to position the code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
Optionally, the code processing method further includes:
responding to attribute updating operation aiming at the control name, and acquiring input control attributes;
and updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
Optionally, a control corresponding to the control name is provided in the interface of the client, and the code processing method further includes: in response to a selection operation on the graphical user interface for the control name, highlighting a control of the control name in the interface of the client corresponding to the selection operation.
Optionally, the code processing method further includes: and responding to the function generation operation aiming at the control name, jumping to the preset encoding tool, and sending a generation instruction and the control name selected by the function generation operation to the preset encoding tool so that the preset encoding tool generates a callback function according to the control name selected by the function generation operation and a preset rule.
Optionally, the code processing method further includes: and responding to the function generation operation aiming at the control name, and generating a control object corresponding to the generated callback function.
Optionally, the code processing method further includes: and responding to the deletion operation aiming at the control name, skipping to the preset coding tool, and sending a deletion instruction and the control name selected by the deletion operation to the preset coding tool, so that the preset coding tool deletes the callback function currently bound to the control corresponding to the control name selected by the deletion operation.
Optionally, the code processing method further includes: and receiving variable data sent by the client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and the control names.
Optionally, the code processing method further includes:
acquiring a search instruction, wherein the search instruction carries a variable name;
and highlighting the control name matched with the variable name in the control tree according to the variable name and the variable data.
The embodiment of the present application further provides a code processing method, applied to an encoding tool, including:
receiving a positioning instruction sent by an interface editor, wherein the positioning instruction carries a first target control name;
determining a file to which an object class of the first target control name belongs, and analyzing the file to which the object class belongs;
and determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positioning to the first code position.
Optionally, the code processing method further includes: receiving a newly added function instruction sent by an interface editor, wherein the newly added function instruction carries a second target control name;
jumping to a second code position of a callback function currently bound by the control corresponding to the second target control name;
and adding a callback function after the callback function corresponds to the second code position according to a preset rule and the name of the second target control.
Optionally, the code processing method further includes:
receiving a deleting instruction sent by an interface editor, wherein the deleting instruction carries a third target control name;
jumping to a third code position of a callback function currently bound by the control corresponding to the third target control name;
and deleting the callback function at the third code position.
An embodiment of the present application further provides a code processing apparatus, including:
the display module is used for displaying interface data sent by a client on a graphical user interface provided by an interface editor, wherein the interface data comprise control names of a plurality of controls in the client;
the generating module is used for generating a control tree according to the interface data, and the control tree is composed of a plurality of control names;
and the positioning module is used for responding to code query operation aiming at a target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to position the code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
An embodiment of the present application further provides a code processing apparatus, including:
the receiving module is used for receiving a positioning instruction sent by an interface editor, and the positioning instruction carries a first target control name;
the determining module is used for determining the file of the object class where the first target control name is located and analyzing the file of the object class;
a positioning module, configured to determine, according to the parsed object class file and a preset code specification, a first code position of a callback function currently bound to the control corresponding to the first target control name, and position the callback function to the first code position
Embodiments of the present application further provide a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method when executing the computer program.
Embodiments of the present application also provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the method as described above.
The embodiment of the application provides a code processing method and device, computer equipment and a storage medium, by providing a jump positioning function, when a user selects the jump positioning function for a certain control name, the user jumps to a third-party coding tool and sends the control name to the third-party coding tool, so that the third-party coding tool can position the code position of a callback function currently bound by the control corresponding to the control name according to the control name, and the user does not need to record the code position through a document in advance and inquire the code position through the document, thereby realizing the quick positioning of the code position.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a code processing method provided in an embodiment of the present application.
Fig. 2 is a schematic view of a first application scenario of a code processing method provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a second application scenario of the code processing method provided in the embodiment of the present application;
fig. 4 is a schematic diagram of a third application scenario of the code processing method provided in the embodiment of the present application;
fig. 5 is a schematic diagram of a fourth application scenario of the code processing method provided in the embodiment of the present application;
fig. 6 is a schematic diagram of a fifth application scenario of the code processing method according to the embodiment of the present application;
FIG. 7 is another schematic flow chart diagram of a code processing method provided in an embodiment of the present application;
FIG. 8 is a schematic structural diagram of a code processing apparatus provided in an embodiment of the present application;
FIG. 9 is a schematic structural diagram of a code processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
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 a part of the embodiments of the present application, and not all of the 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.
The embodiment of the application provides a code processing method and device, computer equipment and a storage medium. In particular, the present embodiment provides a code processing method suitable for a code processing apparatus, which can be integrated in a computer device.
Referring to fig. 1, fig. 1 is a schematic flowchart of a code processing method provided in an embodiment of the present application, where the method is applied to an interface editor running on a computer device, and mainly includes steps 101 to 103, and the description of each step is as follows:
step 101: and displaying interface data sent by the client on a graphical user interface provided by the interface editor, wherein the interface data comprises control names of a plurality of controls in the client.
Specifically, a user can open a client in a computer device, connect the client with an interface editor through a network, and then receive interface data sent by the client, wherein the interface data includes control names of controls in the client.
It is easy to understand that the computer devices running the client and the interface editor may be the same or different, and when the client is connected to the interface editor, the client may automatically send the interface data to the interface editor, or may obtain a sending instruction, for example, a user sends a sending instruction to the client through the interface editor, and after receiving the sending instruction, the client sends the interface data to the interface editor.
Step 102: and generating a control tree according to the interface data, wherein the control tree comprises control names of a plurality of controls.
It will be readily appreciated that client interfaces often contain many controls to implement the interface logic for the entire client interface. The interface editor generates a control tree according to the logical relationship of all the controls, and the control tree may include a root node control, a plurality of father node controls configured under the root node space, and at least one child node control configured under each father node control. In order to facilitate user operation, the controls in the control tree are represented by control names, and if a user wants to operate one of the controls, the user can operate the control name corresponding to the control.
Step 103: responding to code query operation aiming at the target control name on a graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so that the preset coding tool positions to a code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
Specifically, please refer to fig. 2, fig. 2 is a schematic view of a first application scenario of a code processing method according to an embodiment of the present application. The interface editor runs on the computer device 1000, the computer device 1000 displays the graphical user interface 100 of the interface editor, the graphical user interface 100 of the interface editor includes a control area 120, and the control area 120 displays a control tree. And the user skips to a preset coding tool by performing code query operation on the target control name and sends a positioning instruction to the preset coding tool, wherein the positioning instruction carries the target control name. And then, the preset coding tool carries out response operation so as to position the code position of the callback function currently bound by the control corresponding to the target control name.
For example, as shown in fig. 2, taking a personal computer as an example, the personal computer 1000 displays a graphical user interface 100 of an interface editor, and the code query operation may be that a user selects a control name in the control area 120 by a right mouse button: and the sub-control a1 displays the function menu 121 by the interface editor in response to the selection operation of clicking the right mouse button by the user, and then the user can select the jump callback function in the function menu 121, and the interface editor jumps to a preset coding tool in response to the selection operation of the jump callback function by the user and sends the corresponding control name, the sub-control a1 to the preset coding tool. The function of jumping to third-party software (a preset coding tool) when the jump function key is selected can be realized by setting a trigger event in the jump callback function key. When a preset coding tool receives a positioning instruction and a control name (a child control a1) sent by an interface editor, firstly, a file to which an object class where the child control a1 belongs is determined, and the file to which the object class belongs is analyzed, and then, a code position of a callback function currently bound to the child control a1 can be determined according to a preset code specification and the file to which the analyzed object class belongs, and the callback function is positioned to the code position, so that rapid positioning is realized.
Optionally, the code processing method may further include: responding to attribute updating operation aiming at the control name, and acquiring the input control attribute; and updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
And when the control attribute corresponding to the control name is modified, determining to generate attribute updating operation aiming at the control name.
Specifically, please refer to fig. 3, where fig. 3 is a schematic diagram of a second application scenario of the code processing method according to the embodiment of the present application. The interface editor interface 100 also includes a properties area 130, wherein when any one of the controls in the controls area 120 is selected, the properties of the selected control are displayed in the properties area 130, and the user can modify the properties of the control in the properties area 130. It is easy to understand that, when a user finds that a certain control of a client is displayed abnormally, the user can select the control name of the control in the control area 120, and then check the control attribute of the control displayed in the attribute area 130, thereby implementing separation from a source code, and checking whether the control attribute setting of any control is correct in real time, so as to provide convenience for the user. Further, when a user wants to modify a control property of a control, the modification can also be made directly in the property area 130. For example, as shown in fig. 3, a user selects the sub-control a2 in the control area 120, the control attribute corresponding to the sub-control a2 is correspondingly displayed in the attribute area 130, when the user modifies the control attribute in the attribute area 130, it is determined that an attribute update operation for the sub-control a2 has occurred, the computer device 1000 obtains the control attribute input by the user, and updates the client interface in real time according to the control attribute, for example, when the user modifies the control attribute of the sub-control a2 through an interface editor, and sends the modified control attribute to the client, the client finds that the control attribute has changed when obtaining the control attribute, and updates and displays the sub-control a2 according to the modified attribute control, so that the user can visually see the effect generated by modifying the control attribute.
In this embodiment, a control corresponding to the control name is provided in an interface of the client, and the code processing method further includes: and in response to the selection operation aiming at the control name on the graphical user interface, highlighting the control corresponding to the control name of the selection operation in the interface of the client.
The highlighting may include highlighting, blinking, or edge highlighting.
It is easy to understand that the control tree is composed of control names of the controls, and usually the control names are represented by english letters, and the selected control is highlighted in the client, so that the user can conveniently confirm the selected control. For example, the control name of the control 1 is d, the control name of the control 2 is e, when the user wants to modify the control 1, the user mistakenly selects the control name e of the control 2 in the control tree, and the user can find out the selection error of the user in time and correct the selection error in time by observing the highlighted control 2 in the client.
In some embodiments, the code processing method further comprises: and responding to the function generation operation aiming at the control name, jumping to a preset encoding tool, and sending the generation instruction and the control name selected by the function generation operation to the preset encoding tool so that the preset encoding tool generates a callback function according to the control name selected by the function generation operation and a preset rule.
Specifically, referring to fig. 4, fig. 4 is a schematic view of a third application scenario of the code processing method provided in the embodiment of the present application, where a user may select a control name in the control area 120 by a right mouse button: and the sub-control a1 displays the function menu 122 in response to the selection operation of clicking the right mouse button by the user, and then the user can select the callback function added in the function menu 122, and the interface editor jumps to a preset coding tool in response to the selection operation of the callback function added by the user, and sends the corresponding control name, the sub-control a1 and the generated instruction to the preset coding tool. The function of jumping to third-party software (a preset coding tool) when the key with the callback function is selected can be realized by setting a trigger event in the key with the callback function.
In this embodiment, the code processing method further includes: and responding to the function generation operation aiming at the control name, and generating a control object corresponding to the generated callback function.
In some embodiments, the code processing method further comprises: and responding to the deletion operation aiming at the control name, skipping to the preset coding tool, and sending a deletion instruction and the control name selected by the deletion operation to the preset coding tool, so that the preset coding tool deletes the callback function currently bound to the control corresponding to the control name selected by the deletion operation.
When the user selects the control name and selects the function of deleting the callback function, the deletion operation aiming at the control name is determined to be generated.
For example, as shown in fig. 5, taking a personal computer as an example, a user selects the sub-control a1 in the control area 120 through a right mouse button, the interface editor displays the function menu 123 in response to the user's selection of the right mouse button, and then the user can select the delete callback function in the function menu 123, and the interface editor jumps to a preset encoding tool in response to the user's selection of the delete callback function and sends a corresponding control name, sub-control a1, and a delete instruction to the preset encoding tool. The function of jumping to third-party software (a preset coding tool) when the delete callback function key is selected can be realized by setting a trigger event in the delete callback function key.
In some embodiments, the code processing method further comprises: receiving variable data sent by a client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and control names.
It is easily understood that there may be a plurality of variables dynamically mapped to a control, so that when the client connects to the interface editor, the client can send the variable data to the interface editor for the user to edit the control. The variable data may include a plurality of variable names and a correspondence of the plurality of variable names to the control names.
In this embodiment, the code processing method further includes: acquiring a search instruction, wherein the search instruction carries a variable name; and highlighting the control name matched with the variable name in the control tree according to the variable name and the variable data.
Specifically, when a user needs to edit a control corresponding to a certain variable, the variable can be positioned to the corresponding control through the variable name of the variable. For example, referring to fig. 6, fig. 6 is a schematic diagram illustrating a fifth application scenario of the code processing method according to the embodiment of the present application, where the interface editor interface 100 includes a search area 110, and the search area displays a search box, for example, a user may input a variable 1 in the search box when he wants to modify a control corresponding to the variable 1, and then click a search button to generate a search instruction. The interface editor receives the search instruction and the variable name (variable 1), and highlights the control (parent control B) corresponding to the variable 1 in the control area 120 so that the user can modify the parent control B.
According to the code processing method provided by the embodiment of the application, interface data sent by a client side is displayed on a graphical user interface provided by an interface editor, and the interface data comprises control names of a plurality of controls in the client side; generating a control tree according to the interface data, wherein the control tree comprises control names of a plurality of controls; responding to code query operation aiming at a target control name on a graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to position the preset coding tool to a code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names, so that a user does not need to record the code position through a document in advance and inquire the code position through the document, and the code position can be quickly positioned.
Referring to fig. 7, fig. 7 is another flow chart illustrating a code processing method according to an embodiment of the present application, where the method is applied to an encoding tool running in a computer device, and mainly includes steps 201 to 203, which are described as follows:
step 201: and receiving a positioning instruction sent by the interface editor, wherein the positioning instruction carries the name of the first target control.
Specifically, when a jump callback function in the interface editor is selected, a preset coding tool is opened in response to a jump event in a jump callback function key. The encoding tool receives a positioning instruction sent by the interface editor, and in response to the positioning instruction, step 202 is executed.
Step 202: and determining a file to which the object class of the first target control name belongs, and analyzing the file to which the object class belongs.
Specifically, a client source code is preset in the preset encoding tool, and the encoding tool responds to the positioning instruction and finds the file to which the object class corresponding to the control belongs according to the name of the first target control. And default analysis tools are arranged in the preset coding tools and analyze the files to which the object classes belong.
Step 203: and determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positioning to the first code position.
Specifically, when a user writes a source code of a client, the user defines a section of preset code specification, and the coding tool may determine, according to the preset code specification and in combination with the file to which the parsed object class belongs, a first code position of the callback function currently bound to the control corresponding to the first target control name, and jump to the first code position.
In some embodiments, the code processing method further comprises: receiving a newly added function instruction sent by an interface editing second target control name device, wherein the newly added function instruction carries a second target control name; jumping to a second code position of a callback function currently bound by the control corresponding to the seventh control name; and adding a callback function after the callback function corresponds to the second code position according to the preset rule and the name of the second target control.
Wherein the new function instruction corresponds to the generation instruction in the above embodiment.
Specifically, in response to a new function instruction, the preset encoding tool first locates the second code position of the callback function currently bound to the control corresponding to the second target control name according to the code processing method, and then generates a new callback function after the callback function corresponds to the second code position according to the preset rule and the second target control name. The newly generated callback function is a function template generated according to the second target control name and a preset rule, and a user can add codes in the function template to realize the callback function. For example, as shown in fig. 4, when the user selects child control a1 and selects to add a callback function, in response to a jump event built in the button for adding the callback function, the encoding tool jumps to an interface (not shown in the figure) of a preset encoding tool, and then the encoding tool automatically jumps to a code position of the callback function currently bound by the child control a1, at which point, the encoding tool may automatically generate a new callback function after the callback function corresponding to the code position.
In some embodiments, the code processing method further comprises: receiving a deleting instruction sent by the interface editor, wherein the deleting instruction carries a third target control name; jumping to a third code position of a callback function currently bound by the control corresponding to the third target control name; and deleting the callback function at the third code position.
Specifically, in response to the deletion instruction, the preset encoding tool first locates to a third code position of the callback function currently bound to the control corresponding to the third target control name according to the code processing method, then jumps to the third code position, and deletes the callback function at the third code position. For example, as shown in fig. 5, when the user selects child control a1 and selects to delete the callback function, in response to a jump event built in the delete callback function button, the encoding tool jumps to an interface (not shown in the figure) of a preset encoding tool, and then the encoding tool automatically jumps to the code position of the callback function currently bound by the child control a1, at this time, the encoding tool may automatically delete the callback function at the code position, or pop up a dialog box to confirm to the user whether to delete the callback function.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
According to the code processing method provided by the embodiment of the application, the coding tool receives the positioning instruction sent by the interface editor, the positioning instruction carries the name of the first target control, then the file to which the object class where the name of the first target control belongs is determined, the file to which the object class belongs is analyzed, then the first code position of the callback function currently bound by the control corresponding to the name of the first target control is determined according to the analyzed file to which the object class belongs and the preset code specification, and the first code position is positioned to the first code position, so that a user does not need to record the code position through a document in advance and inquire the code position through the document, and the code position can be quickly positioned.
In order to better implement the code processing method of the embodiment of the present application, an embodiment of the present application further provides a code processing apparatus. Referring to fig. 8, fig. 8 is a schematic structural diagram of a code processing apparatus according to an embodiment of the present disclosure. The code processing apparatus 10 may include a display module 11, a generation module 12, and a positioning module 13.
The display module 11 is configured to display interface data sent by the client on a graphical user interface provided by the interface editor, where the interface data includes control names of multiple controls in the client.
And the generating module 12 is configured to generate a control tree according to the interface data, where the control tree includes control names of multiple controls.
The positioning module 13 is configured to jump to a preset encoding tool in response to a code query operation on the graphical user interface for a target control name, and send a positioning instruction to the preset encoding tool, so that the preset encoding tool positions to a code position of a callback function currently bound to a control corresponding to the target control name, where the positioning instruction carries the target control name and the target control name is at least one of multiple control names.
In some embodiments, the code processing apparatus 10 may further include an update module for: responding to attribute updating operation aiming at the control name, and acquiring the input control attribute; and updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
In some embodiments, a control corresponding to the control name is provided in the interface of the client, and the code processing apparatus 10 may further include a highlighting module for: and in response to the selection operation aiming at the control name on the graphical user interface, highlighting the control corresponding to the control name of the selection operation in the interface of the client.
In some embodiments, the code processing apparatus 10 may further include a newly added module for: and responding to the function generation operation aiming at the control name, jumping to a preset encoding tool, and sending the generation instruction and the control name selected by the function generation operation to the preset encoding tool so that the preset encoding tool generates a callback function according to the control name selected by the function generation operation and a preset rule.
In some embodiments, the adding module may be further configured to: and responding to the function generation operation aiming at the control name, and generating a control object corresponding to the generated callback function.
In some embodiments, the code processing apparatus 10 may further include a deletion module for: and responding to the deletion operation aiming at the control name, skipping to a preset coding tool, and sending the deletion instruction and the control name selected by the deletion operation to the preset coding tool so that the preset coding tool deletes the callback function currently bound to the control corresponding to the control name selected by the deletion operation.
In some embodiments, the display module 11 may further be configured to: receiving variable data sent by a client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and control names.
Further, the code processing apparatus 10 may further include a search module for: acquiring a search instruction, wherein the search instruction carries a variable name; and highlighting the control name matched with the variable name in the control tree according to the variable name and the variable data.
The code processing apparatus 10 provided in this embodiment of the present application displays, by a display module 11, interface data sent by a client on a graphical user interface provided by an interface editor, where the interface data includes control names of a plurality of controls in the client, then a generation module 12 generates, according to the interface data, a control tree including the control names of the plurality of controls, and then a positioning module 13, in response to a code query operation on the graphical user interface for a target control name, jumps to a preset encoding tool and sends a positioning instruction to the preset encoding tool, so that the preset encoding tool positions the target control name to a code position of a callback function currently bound to the target control name, where the positioning instruction carries the target control name, and the target control name is at least one of the plurality of control names, so that it is not necessary for a user to record a code position in advance through a document and query the code position through the document, the code position can be quickly positioned.
The embodiment of the application also provides a code processing device. Referring to fig. 9, fig. 9 is a schematic structural diagram of a code processing apparatus according to an embodiment of the present disclosure. The code processing apparatus 20 may include a receiving module 21, a determining module 22, and a positioning module 23.
The receiving module 21 is configured to receive a positioning instruction sent by the interface editor, where the positioning instruction carries a name of the first target control.
The determining module 22 determines the file to which the object class where the first target control name belongs, and analyzes the file to which the object class belongs.
And the positioning module 23 is configured to determine, according to the file to which the parsed object class belongs and the preset code specification, a first code position of the callback function currently bound to the control corresponding to the first target control name, and position the callback function to the first code position.
In some embodiments, the code processing apparatus 20 further includes an adding module, configured to receive an adding function instruction sent by the interface editor, where the adding function instruction carries a name of the second target control; jumping to a second code position of a callback function currently bound by the control corresponding to the second target control name; and adding a callback function after the callback function corresponds to the second code position according to the preset rule and the name of the second target control.
In some embodiments, the code processing apparatus 20 further comprises a deletion module for: receiving a deleting instruction sent by the interface editor, wherein the deleting instruction carries a third target control name; jumping to a third code position of a callback function currently bound by the control corresponding to the third target control name; and deleting the callback function at the third code position.
According to the code processing method provided by the embodiment of the application, a coding tool receives a positioning instruction sent by an interface editor through a receiving module 21, the positioning instruction carries a first target control name, then a determining module 22 determines a file to which an object class where the first target control name belongs and analyzes the file to which the object class belongs, and then a positioning module 23 determines a first code position of a callback function currently bound by a control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positions the first code position to the first code position, so that a user does not need to record the code position through a document in advance and inquire the code position through the document, and the code position can be quickly positioned.
In addition, the embodiment of the present application further provides a computer device, where the computer device may be a terminal, and the terminal may be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game console, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like. As shown in fig. 10, fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer device 1000 includes a processor 601 with one or more processing cores, a memory 602 with one or more computer-readable storage media, and a computer program stored on the memory 602 and executable on the processor. The processor 601 is electrically connected to the memory 602. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 601 is a control center of the computer apparatus 1000, connects various parts of the entire computer apparatus 1000 using various interfaces and lines, performs various functions of the computer apparatus 1000 and processes data by running or loading software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the computer apparatus 1000.
In the embodiment of the present application, the processor 601 in the computer device 1000 loads instructions corresponding to processes of one or more applications into the memory 602, and the processor 601 executes the applications stored in the memory 602 according to the following steps, so as to implement various functions:
displaying interface data sent by a client on a graphical user interface provided by an interface editor, wherein the interface data comprise control names of a plurality of controls in the client;
generating a control tree according to the interface data, wherein the control tree comprises control names of a plurality of controls;
responding to code query operation aiming at the target control name on a graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so that the preset coding tool positions to a code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 10, the computer device 1000 further includes: a touch display screen 603, a radio frequency circuit 604, an audio circuit 605, an input unit 606, and a power supply 607. The processor 601 is electrically connected to the touch display screen 603, the radio frequency circuit 604, the audio circuit 605, the input unit 606, and the power supply 607. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 10 is not intended to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The touch display screen 603 can be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 603 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 601, and can receive and execute commands sent by the processor 601. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 601 to determine the type of the touch event, and then the processor 601 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 603 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display screen 603 can also be used as a part of the input unit 606 to implement an input function.
In the embodiment of the present application, a game application is executed by the processor 601 to generate a graphical user interface on the touch display screen 603, where a virtual scene on the graphical user interface includes a 3D model.
The rf circuit 604 may be used for transceiving rf signals to establish wireless communication with a network device or other computer device via wireless communication, and for transceiving signals with the network device or other computer device.
The audio circuit 605 may be used to provide an audio interface between the user and the computer device through speakers, microphones. The audio circuit 605 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 605 and converted into audio data, which is then processed by the audio data output processor 601, and then transmitted to, for example, another computer device via the radio frequency circuit 604, or output to the memory 602 for further processing. The audio circuit 605 may also include an earbud jack to provide communication of peripheral headphones with the computer device.
The input unit 606 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 607 is used to power the various components of the computer device 1000. Optionally, the power supply 607 may be logically connected to the processor 601 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. The power supply 607 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 10, the computer device 1000 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, in the computer device provided in this embodiment, the interface data sent by the client is displayed on the graphical user interface provided by the interface editor, where the interface data includes control names of multiple controls in the client; generating a control tree according to the interface data, wherein the control tree comprises control names of a plurality of controls; responding to code query operation aiming at a target control name on a graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to position the preset coding tool to a code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names, so that a user does not need to record the code position through a document in advance and inquire the code position through the document, and the code position can be quickly positioned.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute the steps in any one of the code processing methods provided by the embodiments of the present application. For example, the computer program may perform the steps of: displaying interface data sent by a client on a graphical user interface provided by an interface editor, wherein the interface data comprise control names of a plurality of controls in the client; generating a control tree according to the interface data, wherein the control tree comprises control names of a plurality of controls; responding to code query operation aiming at the target control name on a graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so that the preset coding tool positions to a code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or the like.
Since the computer program stored in the storage medium can execute the steps in any of the code processing methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the code processing methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
The code processing method, the code processing apparatus, the storage medium, and the computer device provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principles and implementations of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (15)

1. A code processing method, comprising:
displaying interface data sent by a client on a graphical user interface provided by an interface editor, wherein the interface data comprise control names of a plurality of controls in the client;
generating a control tree according to the interface data, wherein the control tree comprises control names of the plurality of controls;
responding to code query operation aiming at a target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to position the code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
2. The code processing method according to claim 1, further comprising:
responding to attribute updating operation aiming at the control name, and acquiring input control attributes;
and updating the control corresponding to the control name selected by the attribute updating operation in the interface of the client according to the control attribute.
3. The code processing method according to claim 1, wherein a control corresponding to the control name is provided in the interface of the client, and the method further comprises:
in response to a selection operation on the graphical user interface for the control name, highlighting a control of the control name in the interface of the client corresponding to the selection operation.
4. The code processing method according to claim 1, wherein the method further comprises:
and responding to the function generation operation aiming at the control name, jumping to the preset encoding tool, and sending a generation instruction and the control name selected by the function generation operation to the preset encoding tool so that the preset encoding tool generates a callback function according to the control name selected by the function generation operation and a preset rule.
5. The code processing method of claim 4, wherein the method further comprises:
and responding to the function generation operation aiming at the control name, and generating a control object corresponding to the generated callback function.
6. The code processing method according to claim 1, wherein the method further comprises:
and responding to the deletion operation aiming at the control name, skipping to the preset coding tool, and sending a deletion instruction and the control name selected by the deletion operation to the preset coding tool, so that the preset coding tool deletes the callback function currently bound to the control corresponding to the control name selected by the deletion operation.
7. The code processing method according to claim 1, further comprising:
and receiving variable data sent by the client, wherein the variable data comprises a plurality of variable names and corresponding relations between the variable names and the control names.
8. The code processing method of claim 7, wherein the method further comprises:
acquiring a search instruction, wherein the search instruction carries a variable name;
and highlighting the control name matched with the variable name in the control tree according to the variable name and the variable data.
9. A code processing method, applied to an encoding tool, comprising:
receiving a positioning instruction sent by an interface editor, wherein the positioning instruction carries a first target control name;
determining a file to which an object class of the first target control name belongs, and analyzing the file to which the object class belongs;
and determining a first code position of a callback function currently bound by the control corresponding to the first target control name according to the analyzed file to which the object class belongs and a preset code specification, and positioning to the first code position.
10. The code processing method according to claim 9, further comprising:
receiving a newly added function instruction sent by an interface editor, wherein the newly added function instruction carries a second target control name;
jumping to a second code position of a callback function currently bound by the control corresponding to the second target control name;
and adding a callback function after the callback function corresponds to the second code position according to a preset rule and the name of the second target control.
11. The code processing method according to claim 9, further comprising:
receiving a deleting instruction sent by an interface editor, wherein the deleting instruction carries a third target control name;
jumping to a third code position of a callback function currently bound by the control corresponding to the third target control name;
and deleting the callback function at the third code position.
12. A code processing apparatus, comprising:
the display module is used for displaying interface data sent by a client on a graphical user interface provided by an interface editor, wherein the interface data comprise control names of a plurality of controls in the client;
the generating module is used for generating a control tree according to the interface data, and the control tree is composed of a plurality of control names;
and the positioning module is used for responding to code query operation aiming at a target control name on the graphical user interface, jumping to a preset coding tool, and sending a positioning instruction to the preset coding tool so as to enable the preset coding tool to position the code position of a callback function currently bound by a control corresponding to the target control name, wherein the positioning instruction carries the target control name, and the target control name is at least one of a plurality of control names.
13. A code processing apparatus, applied to an encoding tool, comprising:
the receiving module is used for receiving a positioning instruction sent by an interface editor, and the positioning instruction carries a first target control name;
the determining module is used for determining the file of the object class where the first target control name is located and analyzing the file of the object class;
and the positioning module is used for determining the first code position of the callback function currently bound by the control corresponding to the first target control name according to the analyzed object class file and the preset code specification, and positioning the first code position.
14. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method according to any of claims 1 to 8 or 9 to 11 are implemented when the computer program is executed by the processor.
15. A storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the method according to any one of claims 1 to 8 or claims 9 to 11.
CN202110247329.8A 2021-03-05 2021-03-05 Code processing method, device, computer equipment and storage medium Active CN112817582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110247329.8A CN112817582B (en) 2021-03-05 2021-03-05 Code processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110247329.8A CN112817582B (en) 2021-03-05 2021-03-05 Code processing method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112817582A true CN112817582A (en) 2021-05-18
CN112817582B CN112817582B (en) 2023-08-08

Family

ID=75862970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110247329.8A Active CN112817582B (en) 2021-03-05 2021-03-05 Code processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112817582B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377365A (en) * 2021-07-09 2021-09-10 北京字跳网络技术有限公司 Code display method, device, equipment, computer readable storage medium and product
CN113672225A (en) * 2021-08-24 2021-11-19 网易(杭州)网络有限公司 User interface processing method, device, equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5966532A (en) * 1997-07-10 1999-10-12 National Instruments Corporation Graphical code generation wizard for automatically creating graphical programs
US6182278B1 (en) * 1996-07-02 2001-01-30 International Business Machines Corporation Program development support system and support method and storage medium for storing program components which are used for program development support
US20030025728A1 (en) * 2001-07-10 2003-02-06 Ebbo David S. User control objects for providing server-side code generation from a user-defined dynamic web page content file
US20060020930A1 (en) * 2004-07-23 2006-01-26 Press - Sense Ltd. System and method of identifying source code associated with a displayed component
US20110276908A1 (en) * 2010-05-06 2011-11-10 Cadence Design Systems, Inc. System and method for management of controls in a graphical user interface
US8392877B1 (en) * 2004-02-12 2013-03-05 Raju Chiluvuri System and method of application development using replaceable self-contained components (RSCCS)
KR20140019627A (en) * 2012-08-06 2014-02-17 인크로스 주식회사 An authoring tool for web applications and the authoring method thereof
CN107992304A (en) * 2017-12-29 2018-05-04 北京远特科技股份有限公司 A kind of method and apparatus for generating display interface
CN109388557A (en) * 2018-09-03 2019-02-26 深圳壹账通智能科技有限公司 A kind of control visiting method, computer readable storage medium and terminal device
CN109783356A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 A kind of automated testing method and terminal
CN111949522A (en) * 2020-07-31 2020-11-17 中国工商银行股份有限公司 User interface automatic testing method and device
CN112306480A (en) * 2020-10-16 2021-02-02 深圳市大富网络技术有限公司 Visual programming control method, system, device and computer storage medium
CN112306481A (en) * 2020-10-16 2021-02-02 深圳市大富网络技术有限公司 Code display method, system, device and storage medium for graphical programming scene

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6182278B1 (en) * 1996-07-02 2001-01-30 International Business Machines Corporation Program development support system and support method and storage medium for storing program components which are used for program development support
US5966532A (en) * 1997-07-10 1999-10-12 National Instruments Corporation Graphical code generation wizard for automatically creating graphical programs
US20030025728A1 (en) * 2001-07-10 2003-02-06 Ebbo David S. User control objects for providing server-side code generation from a user-defined dynamic web page content file
US8392877B1 (en) * 2004-02-12 2013-03-05 Raju Chiluvuri System and method of application development using replaceable self-contained components (RSCCS)
US20060020930A1 (en) * 2004-07-23 2006-01-26 Press - Sense Ltd. System and method of identifying source code associated with a displayed component
US20110276908A1 (en) * 2010-05-06 2011-11-10 Cadence Design Systems, Inc. System and method for management of controls in a graphical user interface
KR20140019627A (en) * 2012-08-06 2014-02-17 인크로스 주식회사 An authoring tool for web applications and the authoring method thereof
CN107992304A (en) * 2017-12-29 2018-05-04 北京远特科技股份有限公司 A kind of method and apparatus for generating display interface
CN109388557A (en) * 2018-09-03 2019-02-26 深圳壹账通智能科技有限公司 A kind of control visiting method, computer readable storage medium and terminal device
CN109783356A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 A kind of automated testing method and terminal
CN111949522A (en) * 2020-07-31 2020-11-17 中国工商银行股份有限公司 User interface automatic testing method and device
CN112306480A (en) * 2020-10-16 2021-02-02 深圳市大富网络技术有限公司 Visual programming control method, system, device and computer storage medium
CN112306481A (en) * 2020-10-16 2021-02-02 深圳市大富网络技术有限公司 Code display method, system, device and storage medium for graphical programming scene

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
AURORA-JAVA: "aurora-ide", 《HTTPS://GITHUB.COM/AURORA-JAVA/AURORA-IDE》 *
吨吨不打野: "PyQt——2. Qt Designer快速入门", 《HTTPS://BLOG.CSDN.NET/CASTLEHE/ARTICLE/DETAILS/109736530》 *
曲贵川;: "CodeSmith代码自动生成利器", 今日科苑, no. 12 *
聆播科技: "Qt应用自动化系列教程-02控件定位详解", 《HTTPS://WWW.SOHU.COM/A/253831433_100260713》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377365A (en) * 2021-07-09 2021-09-10 北京字跳网络技术有限公司 Code display method, device, equipment, computer readable storage medium and product
WO2023279913A1 (en) * 2021-07-09 2023-01-12 北京字跳网络技术有限公司 Code display method and apparatus, device, computer readable storage medium, and product
CN113672225A (en) * 2021-08-24 2021-11-19 网易(杭州)网络有限公司 User interface processing method, device, equipment and storage medium
CN113672225B (en) * 2021-08-24 2023-08-22 网易(杭州)网络有限公司 User interface processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112817582B (en) 2023-08-08

Similar Documents

Publication Publication Date Title
CN114237399B (en) Haptic feedback method, apparatus, medium, and device
CN109947650B (en) Script step processing method, device and system
CN108039963B (en) Container configuration method and device and storage medium
CN112870724B (en) Resource management method and device, storage medium and electronic equipment
CN112817582B (en) Code processing method, device, computer equipment and storage medium
CN108984142B (en) Split screen display method and device, storage medium and electronic equipment
EP3796308A1 (en) Speech recognition control method and apparatus, electronic device and readable storage medium
US20230054717A1 (en) Ui control generation and trigger methods, and terminal
US9684738B2 (en) Text-based command generation
CN113626017B (en) Heterogeneous program analysis method, heterogeneous program analysis device, computer equipment and storage medium
CN112000566B (en) Method and device for generating test cases
CN104536565A (en) Application program control method and device
CN115469937A (en) Plug-in operation method and device, electronic equipment and storage medium
EP2849058A1 (en) Method and device for displaying a message associated with an application
CN114005431A (en) Configuration method, device and equipment of voice system and readable storage medium
CN115116434A (en) Application implementation method and device, storage medium and electronic equipment
CN110928539B (en) Code engineering generation method and device, electronic equipment and readable storage medium
CN113609154A (en) Data query method and device, electronic equipment and storage medium
CN114327709A (en) Control page generation method and device, intelligent device and storage medium
CN114416234B (en) Page switching method and device, computer equipment and storage medium
CN116382800A (en) Data processing method, device, electronic equipment and storage medium
CN115794915A (en) Data calling method and device, computer equipment and storage medium
CN115858652A (en) Data conversion method and device, computer equipment and storage medium
CN117032795A (en) Picture resource processing method and device, electronic equipment and storage medium
CN117056197A (en) Data processing method, device, equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant