Nothing Special   »   [go: up one dir, main page]

CN113050936B - Front-end data processing method and device based on integrated development environment - Google Patents

Front-end data processing method and device based on integrated development environment Download PDF

Info

Publication number
CN113050936B
CN113050936B CN202110422427.0A CN202110422427A CN113050936B CN 113050936 B CN113050936 B CN 113050936B CN 202110422427 A CN202110422427 A CN 202110422427A CN 113050936 B CN113050936 B CN 113050936B
Authority
CN
China
Prior art keywords
block
development environment
integrated development
path
user
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.)
Active
Application number
CN202110422427.0A
Other languages
Chinese (zh)
Other versions
CN113050936A (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110422427.0A priority Critical patent/CN113050936B/en
Publication of CN113050936A publication Critical patent/CN113050936A/en
Application granted granted Critical
Publication of CN113050936B publication Critical patent/CN113050936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/156Query results presentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a front-end data processing method and device based on an integrated development environment, which can also be used in the financial field, and the method comprises the following steps: receiving path position information sent by a user and determining a block placement path according to the path position information; creating a netpage page in an integrated development environment and starting a block display site, wherein the address of the block display site is obtained from preset plug-in configuration information; monitoring a target block downloading event triggered by the user on the webpage, and calling a file read-write interface of the integrated development environment according to a target block file stream corresponding to the target block downloading event and the block placement path to write the target block file stream into the block placement path; the method and the device can enable developers to conveniently acquire the prefabricated code files, save the step of manually downloading and placing the prefabricated code files at the designated positions, and improve development efficiency.

Description

Front-end data processing method and device based on integrated development environment
Technical Field
The application relates to the field of front-end development and also can be used in the field of finance, in particular to a front-end data processing method and device based on an integrated development environment.
Background
In the front-end development process, some commonly used function templates are usually packaged as prefabricated code files (herein simply referred to as blocks) according to the commonality of service functions, and the blocks are usually presented in the form of web sites for the developer to query and download. The traditional use mode of the block is as follows:
(1) searching a required block in a site through a browser;
(2) downloading the block;
(3) the block file is manually copied to the path required by the project.
The inventors have found that the prior art requires additional browser opening for operation and manual copying of the block files, thereby resulting in low front-end development efficiency.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides the front-end data processing method and the front-end data processing device based on the integrated development environment, which can enable developers to conveniently acquire the prefabricated code files, save the step of manually downloading and placing the prefabricated code files at the designated positions, and improve the development efficiency.
In order to solve at least one of the above problems, the present application provides the following technical solutions:
in a first aspect, the present application provides a front-end data processing method based on an integrated development environment, including:
receiving path position information sent by a user and determining a block placement path according to the path position information;
creating a netpage page in an integrated development environment and starting a block display site, wherein the address of the block display site is obtained from preset plug-in configuration information;
and monitoring a target block downloading event triggered by the user on the webpage, and calling a file read-write interface of the integrated development environment according to a target block file stream corresponding to the target block downloading event and the block placement path to write the target block file stream into the block placement path.
Further, the receiving the path position information sent by the user and determining the block placement path according to the path position information includes:
judging whether path position information sent by a user points to a folder or not, and if not, taking the folder to which the path position information belongs as a block placement path; otherwise, the folder pointed by the path position information is used as a block placement path.
Further, before the receiving the path position information sent by the user and determining the block placement path according to the path position information, the method includes:
when the integrated development environment is started, a calling mode of a plug-in is registered in the integrated development environment according to preset plug-in configuration information, and after the integrated development environment is started, a starting instruction is added in a user operation interface for calling the plug-in.
Further, the monitoring the target block downloading event triggered by the user on the webpage includes:
and monitoring a block searching operation triggered by the user on the webpage and a target block selecting and downloading event triggered by the user after the result of the searching operation is displayed on the webpage.
In a second aspect, the present application provides a front-end data processing apparatus based on an integrated development environment, including:
the block path determining module is used for receiving path position information sent by a user and determining a block placement path according to the path position information;
the system comprises a block site display module, a block display module and a control module, wherein the block site display module is used for creating a netpage page in an integrated development environment and starting a block display site, and the address of the block display site is acquired from preset plug-in configuration information;
and the target block downloading module is used for monitoring a target block downloading event triggered by the user on the webpage, and calling the file read-write interface of the integrated development environment according to a target block file stream corresponding to the target block downloading event and the block placement path to write the target block file stream into the block placement path.
Further, the block path determining module includes:
the path validity judging unit is used for judging whether the path position information sent by the user points to a folder or not, and if not, taking the folder to which the path position information belongs as a block placement path; otherwise, the folder pointed by the path position information is used as a block placement path.
Further, the method further comprises the following steps:
and the plug-in initializing unit is used for registering a calling mode of a plug-in the integrated development environment according to preset plug-in configuration information when the integrated development environment is started, and adding a starting instruction in a user operation interface after the integrated development environment is started so as to call the plug-in.
Further, the target block downloading module includes:
and the user operation monitoring unit is used for monitoring the block search operation triggered by the user on the webpage and the target block selection and downloading event triggered by the user after the result of the search operation is displayed on the webpage.
In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the integrated development environment-based front-end data processing method when the program is executed by the processor.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the integrated development environment based front end data processing method.
According to the technical scheme, the front-end data processing method and the front-end data processing device based on the integrated development environment are provided, the method for users to select the target block and the block placement path is created in the integrated development environment, the file read-write interface of the integrated development environment is automatically called to write the target block file stream into the block placement path after the user triggers the target block downloading event, so that a developer can conveniently acquire the prefabricated code file, the steps of manually downloading and placing the prefabricated code file at a designated position are omitted, and the development efficiency is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a front-end data processing method based on an integrated development environment in an embodiment of the application;
FIG. 2 is one of the block diagrams of a front-end data processing apparatus based on an integrated development environment in an embodiment of the present application;
FIG. 3 is a second block diagram of a front-end data processing apparatus based on an integrated development environment in an embodiment of the present application;
FIG. 4 is a third block diagram of a front-end data processing apparatus based on an integrated development environment in an embodiment of the present application;
FIG. 5 is a flow chart of a front-end data processing method based on an integrated development environment according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, 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 apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In consideration of the problems that in the prior art, a browser needs to be additionally opened for operation and block files are manually copied, so that front-end development efficiency is low, the application provides a front-end data processing method and device based on an integrated development environment.
In order to enable a developer to conveniently acquire a prefabricated code file, a step of manually downloading and placing the prefabricated code file at a designated position is omitted, and development efficiency is improved, the application provides an embodiment of a front-end data processing method based on an integrated development environment, and referring to fig. 1, the front-end data processing method based on the integrated development environment specifically comprises the following contents:
step S101: and receiving path position information sent by a user and determining a block placement path according to the path position information.
Optionally, when the plug-in of the integrated development environment is initialized, the plug-in processing logic of the integrated development environment can read the block display site address from the preset plug-in configuration information, meanwhile, the integrated development environment (for example, an IDE) can transmit path position information (for example, path position triggering a right key menu) selected by a developer to the plug-in processing logic through an interface layer, in addition, the plug-in processing logic can judge whether a current path is a folder, if the current path is not the folder, the folder to which the current path belongs is searched as a block placement path, and if the current path is the folder, the current path is taken as a path for placing the block.
Step S102: and creating a netpage page in the integrated development environment and starting a block display site, wherein the address of the block display site is obtained from preset plug-in configuration information.
Alternatively, the plug-in processing logic of the present application may create a netpage page (e.g., webview) in the integrated development environment and open a tile presentation site in the webview for the user to operate.
Step S103: and monitoring a target block downloading event triggered by the user on the webpage, and calling a file read-write interface of the integrated development environment according to a target block file stream corresponding to the target block downloading event and the block placement path to write the target block file stream into the block placement path.
Optionally, the webview of the application receives the block file returned by the block display site and gives the block file to the plug-in processing logic, the plug-in processing logic transmits the block file and the block placement path obtained during initialization to the interface layer, and the interface layer calls the IDE interface and writes the block file into the block placement path.
As can be seen from the above description, the front-end data processing method based on the integrated development environment provided by the embodiment of the application can automatically call the file read-write interface of the integrated development environment to write the target block file stream into the block placement path after the user triggers the target block downloading event by creating the method for the user to select the target block and the block placement path in the integrated development environment, so that the developer can conveniently obtain the prefabricated code file, the step of manually downloading and placing the prefabricated code file at the designated position is omitted, and the development efficiency is improved.
In order to ensure that the block placement path set by the user is accurate, in an embodiment of the front-end data processing method based on the integrated development environment of the present application, the step S101 may further specifically include the following:
judging whether path position information sent by a user points to a folder or not, and if not, taking the folder to which the path position information belongs as a block placement path; otherwise, the folder pointed by the path position information is used as a block placement path.
Optionally, when the plug-in of the integrated development environment is initialized, the plug-in processing logic of the integrated development environment can read the block display site address from the preset plug-in configuration information, meanwhile, the integrated development environment (for example, an IDE) can transmit path position information (for example, path position triggering a right key menu) selected by a developer to the plug-in processing logic through an interface layer, in addition, the plug-in processing logic can judge whether a current path is a folder, if the current path is not the folder, the folder to which the current path belongs is searched as a block placement path, and if the current path is the folder, the current path is taken as a path for placing the block.
In order to effectively use the integrated development environment plugin, in an embodiment of the front-end data processing method based on the integrated development environment of the present application, the following may be further specifically included before the step S101:
when the integrated development environment is started, a calling mode of a plug-in is registered in the integrated development environment according to preset plug-in configuration information, and after the integrated development environment is started, a starting instruction is added in a user operation interface for calling the plug-in.
Optionally, the above plug-in processing logic of the present application may be used for initializing a plug-in, receiving a block file stream in response to a user operation, and calling an IDE interface through an interface layer to write a file in a corresponding path, where the initializing work includes registering a calling mode of the plug-in the IDE according to plug-in configuration information when the IDE is started and initializing a webview opening block display site in the IDE when the user calls the plug-in, and at the same time, when the IDE installs the plug-in, the plug-in defaults to add a start instruction in a file directory right key menu for calling the plug-in after the IDE is started, and a developer may modify a display mode in the plug-in configuration information, for example, add an additional independent button or cancel a right key menu item for the plug-in.
In order to accurately determine the operation process of the user on the web page, in an embodiment of the front-end data processing method based on the integrated development environment of the present application, the step S103 may further specifically include the following:
and monitoring a block searching operation triggered by the user on the webpage and a target block selecting and downloading event triggered by the user after the result of the searching operation is displayed on the webpage.
Optionally, the present application may trigger a download event of the selected block by completing the search and selection of the block by the user on the block site shown in the webview.
In order to enable a developer to conveniently obtain a prefabricated code file, save the steps of manually downloading and placing the prefabricated code file at a designated position, and improve the development efficiency, the application provides an embodiment of a front-end data processing device based on an integrated development environment for implementing all or part of the content of the front-end data processing method based on the integrated development environment, and referring to fig. 2, the front-end data processing device based on the integrated development environment specifically includes the following contents:
the block path determining module 10 is configured to receive path position information sent by a user and determine a block placement path according to the path position information.
The block site presentation module 20 is configured to create a netpage page in the integrated development environment and activate a block presentation site, where an address of the block presentation site is obtained from preset plug-in configuration information.
And the target block downloading module 30 is configured to monitor a target block downloading event triggered by the user on the web page, and invoke the file read-write interface of the integrated development environment to write the target block file stream into the block placement path according to the target block file stream corresponding to the target block downloading event and the block placement path.
As can be seen from the above description, the front-end data processing device based on the integrated development environment provided by the embodiments of the present application can automatically invoke the file read-write interface of the integrated development environment to write the target block file stream into the block placement path after the user triggers the target block downloading event by creating the method for the user to select the target block and the block placement path in the integrated development environment, so that the developer can conveniently obtain the prefabricated code file, the step of manually downloading and placing the prefabricated code file at the designated position is omitted, and the development efficiency is improved.
In order to ensure that the block placement path set by the user is accurate, in an embodiment of the front-end data processing apparatus based on the integrated development environment of the present application, referring to fig. 3, the block path determining module 10 includes:
a path validity judging unit 11, configured to judge whether path location information sent by a user points to a folder, and if not, take the folder to which the path location information belongs as a block placement path; otherwise, the folder pointed by the path position information is used as a block placement path.
In order to effectively use the integrated development environment plug-in, in an embodiment of the front-end data processing device based on the integrated development environment of the present application, the following is further specifically included:
and the plug-in initializing unit is used for registering a calling mode of a plug-in the integrated development environment according to preset plug-in configuration information when the integrated development environment is started, and adding a starting instruction in a user operation interface after the integrated development environment is started so as to call the plug-in.
In order to accurately determine the operation procedure of the user on the web page, in an embodiment of the front-end data processing apparatus based on the integrated development environment of the present application, referring to fig. 4, the target block downloading module 30 includes:
and the user operation monitoring unit 31 is configured to monitor a block search operation triggered by the user on the web page and a target block selection and downloading event triggered by the user after the result of the search operation is displayed on the web page.
In order to further explain the scheme, the application further provides a specific application example of implementing the front-end data processing method based on the integrated development environment by applying the front-end data processing device based on the integrated development environment, referring to fig. 5, which specifically includes the following contents:
(1) Plug-in initialization. (1) The plug-in processing logic reads the block display site address from the plug-in configuration information, (2) simultaneously, the IDE transmits the path position selected by the developer (the path position triggering the right key menu) to the plug-in processing logic through the interface layer, (3) the plug-in processing logic judges whether the current path is a folder, if not, the folder to which the current path belongs is searched to be used as a block placement path, and if so, the current path is used as a path for placing the block.
(2) Plug-in processing logic creates webview and opens a tile presentation site in the webview.
(3) And the user completes the block searching and selecting on the block site displayed in the webview, and triggers the downloading event of the selected block.
(4) The Webview receives the block file returned by the block display site and gives the block file to the plug-in processing logic, and the plug-in processing logic transmits the block file and the block placement path obtained during initialization to the interface layer.
(5) The interface layer calls the IDE interface to write the block file into the block placement path.
According to the method and the device, the developer can conveniently acquire the prefabricated code file, the step of manually downloading and placing the prefabricated code file at the designated position is omitted, and the development efficiency is improved.
In order to enable a developer to conveniently acquire a prefabricated code file in a hardware aspect, save a step of manually downloading and placing the prefabricated code file at a designated position and improve development efficiency, the application provides an embodiment of an electronic device for realizing all or part of contents in a front-end data processing method based on an integrated development environment, wherein the electronic device specifically comprises the following contents:
a processor (processor), a memory (memory), a communication interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete communication with each other through the bus; the communication interface is used for realizing information transmission between the front-end data processing device based on the integrated development environment and related equipment such as a core service system, a user terminal, a related database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, etc., and the embodiment is not limited thereto. In this embodiment, the logic controller may refer to an embodiment of the front-end data processing method based on the integrated development environment and an embodiment of the front-end data processing apparatus based on the integrated development environment in the embodiments, and the contents thereof are incorporated herein, and are not repeated here.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Wherein, intelligent wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the front-end data processing method based on the integrated development environment may be executed on the electronic device side as described above, or all operations may be completed in the client device. Specifically, the selection may be made according to the processing capability of the client device, and restrictions of the use scenario of the user. The present application is not limited in this regard. If all operations are performed in the client device, the client device may further include a processor.
The client device may have a communication module (i.e. a communication unit) and may be connected to a remote server in a communication manner, so as to implement data transmission with the server. The server may include a server on the side of the task scheduling center, and in other implementations may include a server of an intermediate platform, such as a server of a third party server platform having a communication link with the task scheduling center server. The server may include a single computer device, a server cluster formed by a plurality of servers, or a server structure of a distributed device.
Fig. 6 is a schematic block diagram of a system configuration of an electronic device 9600 of an embodiment of the present application. As shown in fig. 6, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 6 is exemplary; other types of structures may also be used in addition to or in place of the structures to implement telecommunications functions or other functions.
In one embodiment, the front-end data processing method functionality based on the integrated development environment may be integrated into the central processor 9100. The central processor 9100 may be configured to perform the following control:
step S101: and receiving path position information sent by a user and determining a block placement path according to the path position information.
Step S102: and creating a netpage page in the integrated development environment and starting a block display site, wherein the address of the block display site is obtained from preset plug-in configuration information.
Step S103: and monitoring a target block downloading event triggered by the user on the webpage, and calling a file read-write interface of the integrated development environment according to a target block file stream corresponding to the target block downloading event and the block placement path to write the target block file stream into the block placement path.
As can be seen from the above description, in the electronic device provided by the embodiment of the present application, by creating a method for a user to select a target block and a block placement path in an integrated development environment, after a user triggers a target block downloading event, a file read-write interface of the integrated development environment is automatically invoked to write a target block file stream into the block placement path, so that a developer can conveniently obtain a prefabricated code file, a step of manually downloading and placing the prefabricated code file at a designated position is omitted, and development efficiency is improved.
In another embodiment, the front-end data processing apparatus based on the integrated development environment may be configured separately from the central processor 9100, for example, the front-end data processing apparatus based on the integrated development environment may be configured as a chip connected to the central processor 9100, and the front-end data processing method function based on the integrated development environment is implemented by control of the central processor.
As shown in fig. 6, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 need not include all of the components shown in fig. 6; in addition, the electronic device 9600 may further include components not shown in fig. 6, and reference may be made to the related art.
As shown in fig. 6, the central processor 9100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, which central processor 9100 receives inputs and controls the operation of the various components of the electronic device 9600.
The memory 9140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information about failure may be stored, and a program for executing the information may be stored. And the central processor 9100 can execute the program stored in the memory 9140 to realize information storage or processing, and the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, but not limited to, an LCD display.
The memory 9140 may be a solid state memory such as Read Only Memory (ROM), random Access Memory (RAM), SIM card, etc. But also a memory which holds information even when powered down, can be selectively erased and provided with further data, an example of which is sometimes referred to as EPROM or the like. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 storing application programs and function programs or a flow for executing operations of the electronic device 9600 by the central processor 9100.
The memory 9140 may also include a data store 9143, the data store 9143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, address book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. A communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, as in the case of conventional mobile communication terminals.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, etc., may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and to receive audio input from the microphone 9132 to implement usual telecommunications functions. The audio processor 9130 can include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100 so that sound can be recorded locally through the microphone 9132 and sound stored locally can be played through the speaker 9131.
The embodiments of the present application further provide a computer readable storage medium capable of implementing all the steps in the front-end data processing method based on an integrated development environment in which the execution subject in the above embodiments is a server or a client, and the computer readable storage medium stores thereon a computer program that when executed by a processor implements all the steps in the front-end data processing method based on an integrated development environment in which the execution subject in the above embodiments is a server or a client, for example, the processor implements the following steps when executing the computer program:
step S101: and receiving path position information sent by a user and determining a block placement path according to the path position information.
Step S102: and creating a netpage page in the integrated development environment and starting a block display site, wherein the address of the block display site is obtained from preset plug-in configuration information.
Step S103: and monitoring a target block downloading event triggered by the user on the webpage, and calling a file read-write interface of the integrated development environment according to a target block file stream corresponding to the target block downloading event and the block placement path to write the target block file stream into the block placement path.
As can be seen from the above description, the computer readable storage medium provided in the embodiments of the present application automatically invokes the file read/write interface of the integrated development environment to write the target block file stream into the block placement path after the user triggers the target block download event by creating the method for the user to select the target block and the block placement path in the integrated development environment, so that the developer can conveniently obtain the prefabricated code file, the step of manually downloading and placing the prefabricated code file at the designated position is omitted, and the development efficiency is improved.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principles and embodiments of the present invention have been described in detail with reference to specific examples, which are provided to facilitate understanding of the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (8)

1. A front-end data processing method based on an integrated development environment, the method comprising:
receiving path position information sent by a user and determining a block placement path according to the path position information;
creating a netpage page in an integrated development environment and starting a block display site, wherein the address of the block display site is obtained from preset plug-in configuration information;
monitoring a target block downloading event triggered by the user on the webpage, and calling a file read-write interface of the integrated development environment according to a target block file stream corresponding to the target block downloading event and the block placement path to write the target block file stream into the block placement path;
the receiving the path position information sent by the user and determining the block placement path according to the path position information includes:
judging whether path position information sent by a user points to a folder or not, and if not, taking the folder to which the path position information belongs as a block placement path; otherwise, the folder pointed by the path position information is used as a block placement path.
2. The front-end data processing method based on an integrated development environment according to claim 1, comprising, before the receiving user sends path position information and determining a block placement path according to the path position information:
when the integrated development environment is started, a calling mode of a plug-in is registered in the integrated development environment according to preset plug-in configuration information, and after the integrated development environment is started, a starting instruction is added in a user operation interface for calling the plug-in.
3. The method for processing front-end data based on an integrated development environment according to claim 1, wherein the monitoring the target block download event triggered by the user on the web page comprises:
and monitoring a block searching operation triggered by the user on the webpage and a target block selecting and downloading event triggered by the user after the result of the searching operation is displayed on the webpage.
4. A front-end data processing apparatus based on an integrated development environment, comprising:
the block path determining module is used for receiving path position information sent by a user and determining a block placement path according to the path position information;
the system comprises a block site display module, a block display module and a control module, wherein the block site display module is used for creating a netpage page in an integrated development environment and starting a block display site, and the address of the block display site is acquired from preset plug-in configuration information;
the target block downloading module is used for monitoring a target block downloading event triggered by the user on the webpage, and calling a file read-write interface of the integrated development environment according to a target block file stream corresponding to the target block downloading event and the block placement path to write the target block file stream into the block placement path;
wherein, the block path determining module includes:
the path validity judging unit is used for judging whether the path position information sent by the user points to a folder or not, and if not, taking the folder to which the path position information belongs as a block placement path; otherwise, the folder pointed by the path position information is used as a block placement path.
5. The integrated development environment-based front-end data processing apparatus of claim 4, further comprising:
and the plug-in initializing unit is used for registering a calling mode of a plug-in the integrated development environment according to preset plug-in configuration information when the integrated development environment is started, and adding a starting instruction in a user operation interface after the integrated development environment is started so as to call the plug-in.
6. The integrated development environment-based front-end data processing apparatus of claim 4, wherein the target block download module comprises:
and the user operation monitoring unit is used for monitoring the block search operation triggered by the user on the webpage and the target block selection and downloading event triggered by the user after the result of the search operation is displayed on the webpage.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the integrated development environment based front-end data processing method of any one of claims 1 to 3 when the program is executed by the processor.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the integrated development environment-based front-end data processing method of any one of claims 1 to 3.
CN202110422427.0A 2021-04-20 2021-04-20 Front-end data processing method and device based on integrated development environment Active CN113050936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110422427.0A CN113050936B (en) 2021-04-20 2021-04-20 Front-end data processing method and device based on integrated development environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110422427.0A CN113050936B (en) 2021-04-20 2021-04-20 Front-end data processing method and device based on integrated development environment

Publications (2)

Publication Number Publication Date
CN113050936A CN113050936A (en) 2021-06-29
CN113050936B true CN113050936B (en) 2024-02-27

Family

ID=76519736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110422427.0A Active CN113050936B (en) 2021-04-20 2021-04-20 Front-end data processing method and device based on integrated development environment

Country Status (1)

Country Link
CN (1) CN113050936B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114924723A (en) * 2022-05-09 2022-08-19 北京达佳互联信息技术有限公司 Page presenting method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597506A (en) * 2019-11-14 2019-12-20 南京百敖软件有限公司 Front-end application visualization development tool and use method
CN111723318A (en) * 2020-06-09 2020-09-29 百度在线网络技术(北京)有限公司 Page data processing method, device, equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597506A (en) * 2019-11-14 2019-12-20 南京百敖软件有限公司 Front-end application visualization development tool and use method
CN111723318A (en) * 2020-06-09 2020-09-29 百度在线网络技术(北京)有限公司 Page data processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113050936A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
US10852912B2 (en) Image creation app in messaging app
US9442709B1 (en) Transition experience during loading and updating an interface and applications pack
KR101633366B1 (en) Method and system for providing application store service
CN106126685B (en) Page loading method and device
CN112463634B (en) Software testing method and device under micro-service architecture
CN104778063A (en) Method and device for updating resource
CN113342330B (en) Front-end engineering generation method and device
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN111656347B (en) Project display method and terminal
CN111580808B (en) Page generation method, page generation device, computer equipment and storage medium
EP4354270A1 (en) Service recommendation method and electronic device
CN112463199A (en) System upgrading method and terminal
CN111679790A (en) Remote software development storage space distribution method and device
CN107463372B (en) Data-driven page updating method and device
CN111371695B (en) Service flow limiting method and device
CN113050936B (en) Front-end data processing method and device based on integrated development environment
CN111367561B (en) Remote development method and device for software program
CN110908629A (en) Electronic equipment operation method and device, electronic equipment and storage medium
US7742585B2 (en) Mobile communication terminal
CN104866340A (en) Method and apparatus for updating terminal device software
CN108108206A (en) Mobile payment cut-in method and device
EP3185515B1 (en) Method and device for inputting information
CN115086295A (en) File transmission method, file transmission device, server and storage medium
CN113791984A (en) Automatic interface testing method and device
CN113110828B (en) Front-end prototype debugging method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant