CN107291460B - Television terminal, compiling server code control method and storage medium - Google Patents

Television terminal, compiling server code control method and storage medium Download PDF

Info

Publication number
CN107291460B
CN107291460B CN201710440514.2A CN201710440514A CN107291460B CN 107291460 B CN107291460 B CN 107291460B CN 201710440514 A CN201710440514 A CN 201710440514A CN 107291460 B CN107291460 B CN 107291460B
Authority
CN
China
Prior art keywords
server
instruction
compiling
execution result
program
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
CN201710440514.2A
Other languages
Chinese (zh)
Other versions
CN107291460A (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201710440514.2A priority Critical patent/CN107291460B/en
Publication of CN107291460A publication Critical patent/CN107291460A/en
Application granted granted Critical
Publication of CN107291460B publication Critical patent/CN107291460B/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/40Transformation of program code
    • G06F8/41Compilation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)
  • Devices For Executing Special Programs (AREA)

Abstract

The invention discloses a code control method for a compiling server, which comprises the following steps: after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server; sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can compile the codes and return an execution result; and receiving an execution result returned by the compiling server, and outputting the execution result. The invention also discloses a television terminal and a storage medium. The invention effectively solves the technical problems that the prior code management mode of the compiling server is poor in efficiency and cannot reasonably and effectively control the codes of the compiling server. The speed of executing the command is reduced, the efficiency of code management of the compiling server is improved, and the codes of the compiling server are controlled reasonably and effectively.

Description

Television terminal, compiling server code control method and storage medium
Technical Field
The present invention relates to the field of electronic device technologies, and in particular, to a television terminal, a code control method for a compiling server, and a storage medium.
Background
Currently, many large-scale projects use a compiling server for software development, and codes are stored in the compiling server, so that management is facilitated, and the compiling speed is improved. However, this causes inconvenience in code editing because some excellent tools for code editing, comparison, etc. running on windows operating systems (windows, Mac, desktop Linux, etc.) cannot be used in this mode. Most of the existing methods for solving the problems use a file sharing server to map a network disk on a window operating system and edit codes.
The method can solve most of the inconvenience in editing codes, but has some problems: when the code amount is huge, it becomes very slow to manage the code by using svn (Subversion, an open source version control system) client on the windows operating system. At this point, the software developer typically chooses to use the svn program management code of the compilation server. This is less convenient than using the visual interface of a windowing system.
In summary, the current code management method of the compiling server is inefficient, and the codes of the compiling server cannot be controlled reasonably and effectively.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a television terminal, a compiling server code control method and a storage medium, and aims to solve the technical problems that the existing compiling server code management mode is poor in efficiency and cannot reasonably and effectively control codes of a compiling server.
In order to achieve the above object, the present invention provides a code control method for a compilation server, including the steps of:
after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server;
sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can execute code compiling and return an execution result;
and receiving an execution result returned by the compiling server, and outputting the execution result.
Preferably, the step of outputting the execution result includes:
after receiving an execution result returned by the compiling server, filtering the execution result according to a preset mode;
and converting the filtered execution result into a locally identified execution result through a local svn program, and calling the local svn program to display the converted execution result.
Preferably, the step of converting the user instruction into an instruction conforming to a format of a compilation server comprises:
acquiring the running environment of the current svn program;
and converting the user instruction into an instruction executable by a compiling server by combining the running environment of the current svn program.
Preferably, the compilation server code control method further includes:
after a window system client receives a user instruction, determining the type of the user instruction;
judging whether the type is a preset type or not;
when the type is a preset type, executing a step of converting the user instruction into an instruction conforming to a format of a compiling server;
and when the type is not a preset type, combining the user instruction with the user instruction through a local svn program, executing the user instruction, and outputting an execution result.
Preferably, the step of converting the user instruction into an instruction conforming to a format of a compilation server comprises:
receiving input configuration information, and embedding the configuration information into the user instruction;
and converting the user instruction carrying the configuration information into an instruction conforming to a format of a compiling server.
In addition, to achieve the above object, the present invention also provides a television terminal, including: a memory, a processor, and a compilation server code control program stored on the memory and executable on the processor, the compilation server code control program when executed by the processor implementing the steps of:
after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server;
sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can execute code compiling and return an execution result;
and receiving an execution result returned by the compiling server, and outputting the execution result.
Preferably, the compilation server code control program, when executed by the processor, implements the steps of:
after receiving an execution result returned by the compiling server, filtering the execution result according to a preset mode;
and converting the filtered execution result into a locally identified execution result through a local svn program, and calling the local svn program to display the converted execution result.
Preferably, the compilation server code control program, when executed by the processor, implements the steps of:
acquiring the running environment of the current svn program;
and converting the user instruction into an instruction executable by a compiling server by combining the running environment of the current svn program.
Preferably, the compilation server code control program, when executed by the processor, implements the steps of:
after a window system client receives a user instruction, determining the type of the user instruction;
judging whether the type is a preset type or not;
when the type is a preset type, executing a step of converting the user instruction into an instruction conforming to a format of a compiling server;
and when the type is not a preset type, combining the user instruction with the user instruction through a local svn program, executing the user instruction, and outputting an execution result.
Preferably, the compilation server code control program, when executed by the processor, implements the steps of:
receiving input configuration information, and embedding the configuration information into the user instruction;
and converting the user instruction carrying the configuration information into an instruction conforming to a format of a compiling server.
Further, to achieve the above object, the present invention also provides a storage medium having a compiler server code control program stored thereon, which when executed by a processor, implements the steps of the compiler server code control method as described above.
According to the invention, when the local svn program needs to be called, the local svn program is not really called, but an instruction is sent to the compiling server to execute the corresponding command, and the result is returned to the svn client of the window system, so that the command execution speed is greatly reduced. By sending the instruction to the compiling server, the technical problems that the current compiling server code management mode is poor in efficiency and cannot reasonably and effectively control codes of the compiling server are effectively solved. The speed of executing the command is reduced, the efficiency of code management of the compiling server is improved, and the codes of the compiling server are controlled reasonably and effectively.
Drawings
FIG. 1 is a schematic diagram of a terminal \ device structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for controlling code of a compiling server according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating the conversion of the user instructions into instructions conforming to the compiler server format;
FIG. 4 is a flowchart illustrating a method for controlling code of a compiler server according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating a code control method of a compiler server according to another embodiment of the present invention;
FIG. 6 is a flowchart illustrating a code control method for a compiler server according to yet another embodiment of the present invention;
fig. 7 is a block diagram of a client of the window system according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server; sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can execute code compiling and return an execution result; and receiving an execution result returned by the compiling server, and outputting the execution result.
The technical problem that the code of the compiling server cannot be reasonably and effectively controlled due to the poor efficiency of the code management mode of the current compiling server is solved. The invention provides a solution, when needing to call the local svn program, the invention does not really call but sends an instruction to the compiling server to execute a corresponding command, and returns the result to the svn client of the window system, thus greatly reducing the speed of executing the command. By sending the instruction to the compiling server, the technical problems that the current compiling server code management mode is poor in efficiency and cannot reasonably and effectively control codes of the compiling server are effectively solved. The speed of executing the command is reduced, the efficiency of code management of the compiling server is improved, and the codes of the compiling server are controlled reasonably and effectively.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The television terminal in the embodiment of the invention realizes the security of the private data in the system and ensures the security of the user data.
As shown in fig. 1, the television terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Optionally, the television terminal may further include a camera, a Radio Frequency (RF) circuit, a sensor, an audio circuit, a WiFi module, and the like. Such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display screen according to the brightness of ambient light, and a proximity sensor that may turn off the display screen and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the mobile terminal is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer and tapping) and the like for recognizing the attitude of the mobile terminal; of course, the mobile terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a temperature sensor, and a holman sensor, which are not described herein again.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a compilation server code control application.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the compilation server code control application stored in the memory 1005 and perform the following operations:
after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server;
sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can execute code compiling and return an execution result;
and receiving an execution result returned by the compiling server, and outputting the execution result.
Further, the processor 1001 may call the compilation server code control application stored in the memory 1005, and also perform the following operations:
after receiving an execution result returned by the compiling server, filtering the execution result according to a preset mode;
and converting the filtered execution result into a locally identified execution result through a local svn program, and calling the local svn program to display the converted execution result.
Further, the processor 1001 may call the compilation server code control application stored in the memory 1005, and also perform the following operations:
acquiring the running environment of the current svn program;
and converting the user instruction into an instruction executable by a compiling server by combining the running environment of the current svn program.
Further, the processor 1001 may call the compilation server code control application stored in the memory 1005, and also perform the following operations:
after a window system client receives a user instruction, determining the type of the user instruction;
judging whether the type is a preset type or not;
when the type is a preset type, executing a step of converting the user instruction into an instruction conforming to a format of a compiling server;
and when the type is not a preset type, combining the user instruction with the user instruction through a local svn program, executing the user instruction, and outputting an execution result.
Further, the processor 1001 may call the compilation server code control application stored in the memory 1005, and also perform the following operations:
receiving input configuration information, and embedding the configuration information into the user instruction;
and converting the user instruction carrying the configuration information into an instruction conforming to a format of a compiling server.
Referring to fig. 2, a first embodiment of the present invention provides a compilation server code control method including:
step S10, after the window system client receives the instruction of calling the local svn program by the user, the user instruction is converted into an instruction conforming to the format of the compiling server;
in an embodiment of the present invention, the windowing system client provides a portal interface for the user to input information, such as instructions to invoke the local svn program or input configuration information. By providing the portal interface, the user can select the interface of the function item of the compiled program through the portal interface, and the user can input the information of the function item, namely, the instruction for calling the local svn program is sent out. When code compiling is needed, operation data is input through a portal interface, namely a user call local svn program instruction is input, and after the window system client receives the call local svn program instruction, the user instruction is converted into an instruction which accords with a compiling server format.
Specifically, referring to fig. 3, the step of converting the user instruction into an instruction conforming to a format of a compiling server includes:
step S21, acquiring the running environment of the current svn program;
step S22, converting the user instruction into an instruction executable by the compiling server according to the environment where the current svn program operates. The method comprises the steps of receiving a user instruction and prompting user information, after the user instruction is received, according to the instruction and an instruction which can be executed on a compiling server in combination with the current svn program running environment combination, compiling the code more according with the current user instruction and the running of the svn program by running the environment combination instruction, and improving the success rate of compiling the code.
Step S20, the converted instruction conforming to the format of the compiling server is sent to the compiling server so that the compiling server can execute code compiling and return an execution result;
and after the user calls the local svn program instruction, converting the local svn program instruction into an instruction conforming to the format of a compiling server, and sending the converted instruction conforming to the format of the compiling server to the compiling server so that the compiling server can compile codes and return an execution result. The compiling server executes corresponding compiling operation according to the received user instruction, the newly-built thread can find corresponding program configuration codes according to the user instruction, then the program configuration codes are converted into binary languages which can be recognized by a computer, so that compiled programs are formed, after the compiled programs are formed, execution results are returned, and the returned execution results can be determined according to a communication mode established between the window system client and the compiling server, for example, the returned execution results can be returned in a wireless or mail mode.
And step S30, receiving the execution result returned by the compiling server, and outputting the execution result. And detecting an execution result returned by the compiling server, receiving the execution result returned by the compiling server, downloading the execution result at a corresponding position, and outputting the execution result.
In the embodiment, when the local svn program needs to be called, the instruction is sent to the compiling server instead of being actually called to execute the corresponding command, and the result is returned to the svn client of the window system, so that the command execution speed is greatly reduced. By sending the instruction to the compiling server, the technical problems that the current compiling server code management mode is poor in efficiency and cannot reasonably and effectively control codes of the compiling server are effectively solved. The speed of executing the command is reduced, the efficiency of code management of the compiling server is improved, and the codes of the compiling server are controlled reasonably and effectively.
Further, referring to fig. 4, a second embodiment of the present invention provides a compilation server code control method, where the step of outputting the execution result includes:
step S31, after receiving the execution result returned by the compiling server, filtering the execution result according to a preset mode;
and step S32, converting the filtered execution result into a locally recognized execution result through the local svn program, and calling the local svn program to display the converted execution result.
In this embodiment, an execution result is filtered in combination with a filter set by a user, where the filter is provided with a filtering manner, and after receiving the execution result returned by the compiling server, the execution result is filtered by the filter, that is, the execution result is filtered according to a preset manner, for example, a file list in multiple execution results is filtered, and an output result is more accurate. And the filtering mode of the execution result is an adding filtering mode according to the user setting, the filtering mode is related to the input user instruction, the execution result is filtered by setting the filtering mode, and the execution result which is more accurate and convenient for the user is left.
The embodiment filters the execution result, and then outputs the execution result to enable the output execution result to be more accurate, so that the user can use the execution result conveniently.
Further, referring to fig. 5, a third embodiment of the present invention provides a compilation server control method, where the compilation server code control method further includes:
step S40, after the window system client receives the user instruction, determining the type of the user instruction;
step S50, judging whether the type is a preset type;
step S60, when the type is a preset type, executing the step of converting the user instruction into an instruction conforming to the format of a compiling server;
and step S70, when the type is not the preset type, combining the user instruction with the user instruction through a local svn program and executing, and outputting an execution result.
In this embodiment, after a user instruction is searched for at a marriage, a type of a program to be compiled in the user instruction is extracted, whether the type is a preset type is judged, the preset type is the type to be compiled in a compiling server, when the compiling type is the preset type, a local svn program does not need to be really called for compiling, but an instruction is sent to the compiling server, and an execution result is returned through compiling of the compiling server; when the type is not the preset type, the compiling process can be realized by calling the local svn program, and when the type is not the condition that the code is small, the compiling process is finished by sending a command to the compiling server when the code amount is large.
According to the method and the device, reasonable execution of the compiling process is achieved through judgment of the compiling type, and the compiling speed is further improved.
Further, referring to fig. 6, a fourth embodiment of the present invention provides a compilation server control method, where the step of converting the user instruction into an instruction conforming to a compilation server format includes:
step S23, receiving the input configuration information, and embedding the configuration information into the user instruction;
step S24, converting the user instruction carrying the configuration information into an instruction conforming to the format of the compiling server. And guiding the compiling operation by inputting the configuration information. And after receiving the converted instruction, the compiling server extracts the configuration information and the operation data in the instruction, calls the corresponding compiling entry script, takes the operation data as an input parameter, and executes the compiling entry script according to the configuration information to obtain an execution result.
According to the embodiment, the compiling process is guided by adding the configuration information, so that the compiled program is more accurate.
For better describing the embodiment of the present invention, referring to fig. 7, the windowing system client includes: four modules: the system comprises a UI interaction module (UI), a server docking module (S-Glue), a local client docking module (L-Glue) and a text processing and filtering module (TPF). The context of the modules is shown in FIG. 7 as follows:
wherein: the UI interaction module is responsible for interacting with the user, receiving a user instruction and prompting user information. After receiving the user instruction, the S-Glue module sends the instruction to the S-Glue module according to the instruction and the command which can be executed on the recompilation server by combining the program environment combination.
The S-Glue module is responsible for communicating with the compilation server. And sending the command of the UI combination to a compiling server by adopting ssh and telnet protocols, and executing the command on the server. And then collecting the execution result and submitting the execution result to the TPF module for processing.
The TPF module is used for processing the command execution result and filtering the result content by combining the filter set by the user. And the processing result is forwarded to an L-Glue module.
The L-Glue module is responsible for interfacing and quarantining local svn client programs. After receiving the TPF processing result, the TPF processing result is converted into a command which can be identified by the local svn program, and the local svn program is called to display the final result of the user instruction.
In an embodiment, the present invention further provides a television terminal, including: a memory, a processor, and a compilation server code control program stored on the memory and executable on the processor, the compilation server code control program when executed by the processor implementing the steps of:
after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server;
in an embodiment of the present invention, the windowing system client provides a portal interface for the user to input information, such as instructions to invoke the local svn program or input configuration information. By providing the portal interface, the user can select the interface of the function item of the compiled program through the portal interface, and the user can input the information of the function item, namely, the instruction for calling the local svn program is sent out. When code compiling is needed, operation data is input through a portal interface, namely a user call local svn program instruction is input, and after the window system client receives the call local svn program instruction, the user instruction is converted into an instruction which accords with a compiling server format.
The step of converting the user instructions into instructions conforming to a compile server format includes:
acquiring the running environment of the current svn program;
and converting the user instruction into an instruction executable by a compiling server by combining the running environment of the current svn program. The method comprises the steps of receiving a user instruction and prompting user information, after the user instruction is received, according to the instruction and an instruction which can be executed on a compiling server in combination with the current svn program running environment combination, compiling the code more according with the current user instruction and the running of the svn program by running the environment combination instruction, and improving the success rate of compiling the code.
Sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can execute code compiling and return an execution result;
and after the user calls the local svn program instruction, converting the local svn program instruction into an instruction conforming to the format of a compiling server, and sending the converted instruction conforming to the format of the compiling server to the compiling server so that the compiling server can compile codes and return an execution result. The compiling server executes corresponding compiling operation according to the received user instruction, the newly-built thread can find corresponding program configuration codes according to the user instruction, then the program configuration codes are converted into binary languages which can be recognized by a computer, so that compiled programs are formed, after the compiled programs are formed, execution results are returned, and the returned execution results can be determined according to a communication mode established between the window system client and the compiling server, for example, the returned execution results can be returned in a wireless or mail mode.
And receiving an execution result returned by the compiling server, and outputting the execution result. And detecting an execution result returned by the compiling server, receiving the execution result returned by the compiling server, downloading the execution result at a corresponding position, and outputting the execution result.
In the embodiment, when the local svn program needs to be called, the instruction is sent to the compiling server instead of being actually called to execute the corresponding command, and the result is returned to the svn client of the window system, so that the command execution speed is greatly reduced. By sending the instruction to the compiling server, the technical problems that the current compiling server code management mode is poor in efficiency and cannot reasonably and effectively control codes of the compiling server are effectively solved. The speed of executing the command is reduced, the efficiency of code management of the compiling server is improved, and the codes of the compiling server are controlled reasonably and effectively.
Further, when executed by the processor, the compilation server code control program implements the following steps:
after receiving an execution result returned by the compiling server, filtering the execution result according to a preset mode;
and converting the filtered execution result into a locally identified execution result through a local svn program, and calling the local svn program to display the converted execution result.
In this embodiment, an execution result is filtered in combination with a filter set by a user, where the filter is provided with a filtering manner, and after receiving the execution result returned by the compiling server, the execution result is filtered by the filter, that is, the execution result is filtered according to a preset manner, for example, a file list in multiple execution results is filtered, and an output result is more accurate. And the filtering mode of the execution result is an adding filtering mode according to the user setting, the filtering mode is related to the input user instruction, the execution result is filtered by setting the filtering mode, and the execution result which is more accurate and convenient for the user is left.
The embodiment filters the execution result, and then outputs the execution result to enable the output execution result to be more accurate, so that the user can use the execution result conveniently.
Further, when executed by the processor, the compilation server code control program implements the following steps:
after a window system client receives a user instruction, determining the type of the user instruction;
judging whether the type is a preset type or not;
when the type is a preset type, executing a step of converting the user instruction into an instruction conforming to a format of a compiling server;
and when the type is not a preset type, combining the user instruction with the user instruction through a local svn program, executing the user instruction, and outputting an execution result.
In this embodiment, after a user instruction is searched for at a marriage, a type of a program to be compiled in the user instruction is extracted, whether the type is a preset type is judged, the preset type is the type to be compiled in a compiling server, when the compiling type is the preset type, a local svn program does not need to be really called for compiling, but an instruction is sent to the compiling server, and an execution result is returned through compiling of the compiling server; when the type is not the preset type, the compiling process can be realized by calling the local svn program, and when the type is not the condition that the code is small, the compiling process is finished by sending a command to the compiling server when the code amount is large.
According to the method and the device, reasonable execution of the compiling process is achieved through judgment of the compiling type, and the compiling speed is further improved.
Further, when executed by the processor, the compilation server code control program implements the following steps:
receiving input configuration information, and embedding the configuration information into the user instruction;
and converting the user instruction carrying the configuration information into an instruction conforming to a format of a compiling server. And guiding the compiling operation by inputting the configuration information. And after receiving the converted instruction, the compiling server extracts the configuration information and the operation data in the instruction, calls the corresponding compiling entry script, takes the operation data as an input parameter, and executes the compiling entry script according to the configuration information to obtain an execution result.
According to the embodiment, the compiling process is guided by adding the configuration information, so that the compiled program is more accurate.
In addition, an embodiment of the present invention further provides a storage medium, where a compilation server code control program is stored on the storage medium, and when executed by a processor, the compilation server code control program implements the following operations:
after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server;
sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can execute code compiling and return an execution result;
and receiving an execution result returned by the compiling server, and outputting the execution result.
Further, the compilation server code control program, when executed by the processor, implements the following operations:
after receiving an execution result returned by the compiling server, filtering the execution result according to a preset mode;
and converting the filtered execution result into a locally identified execution result through a local svn program, and calling the local svn program to display the converted execution result.
Further, the compilation server code control program, when executed by the processor, implements the following operations:
acquiring the running environment of the current svn program;
and converting the user instruction into an instruction executable by a compiling server by combining the running environment of the current svn program.
Further, the compilation server code control program, when executed by the processor, implements the following operations:
after a window system client receives a user instruction, determining the type of the user instruction;
judging whether the type is a preset type or not;
when the type is a preset type, executing a step of converting the user instruction into an instruction conforming to a format of a compiling server;
and when the type is not a preset type, combining the user instruction with the user instruction through a local svn program, executing the user instruction, and outputting an execution result.
Further, the compilation server code control program, when executed by the processor, implements the following operations:
receiving input configuration information, and embedding the configuration information into the user instruction;
and converting the user instruction carrying the configuration information into an instruction conforming to a format of a compiling server.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, a television, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (11)

1. A compilation server code control method, comprising:
after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server;
sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can execute code compiling and return an execution result;
and receiving an execution result returned by the compiling server, and outputting the execution result.
2. The compilation server code control method of claim 1 wherein the step of outputting the execution result comprises:
after receiving an execution result returned by the compiling server, filtering the execution result according to a preset mode;
and converting the filtered execution result into a locally identified execution result through a local svn program, and calling the local svn program to display the converted execution result.
3. The compilation server code control method of claim 1 wherein the step of converting the user instructions into instructions conforming to a compilation server format comprises:
acquiring the running environment of the current svn program;
and converting the user instruction into an instruction executable by a compiling server by combining the running environment of the current svn program.
4. The compilation server code control method according to any one of claims 1 to 3, further comprising:
after a window system client receives a user instruction, determining the type of the user instruction;
judging whether the type is a preset type or not;
when the type is a preset type, executing a step of converting the user instruction into an instruction conforming to a format of a compiling server;
and when the type is not a preset type, combining the user instruction with the user instruction through a local svn program, executing the user instruction, and outputting an execution result.
5. The compilation server code control method according to any one of claims 1 to 3, wherein the step of converting the user instruction into an instruction conforming to a compilation server format comprises:
receiving input configuration information, and embedding the configuration information into the user instruction;
and converting the user instruction carrying the configuration information into an instruction conforming to a format of a compiling server.
6. A television terminal, characterized in that the television terminal comprises: a memory, a processor, and a compilation server code control program stored on the memory and executable on the processor, the compilation server code control program when executed by the processor implementing the steps of:
after receiving a local svn program instruction called by a user at a window system client, converting the user instruction into an instruction conforming to a format of a compiling server;
sending the converted instruction which accords with the format of the compiling server to the compiling server so that the compiling server can execute code compiling and return an execution result;
and receiving an execution result returned by the compiling server, and outputting the execution result.
7. The television terminal of claim 6, wherein the compilation server code control program when executed by the processor implements the steps of:
after receiving an execution result returned by the compiling server, filtering the execution result according to a preset mode;
and converting the filtered execution result into a locally identified execution result through a local svn program, and calling the local svn program to display the converted execution result.
8. The television terminal of claim 6, wherein the compilation server code control program when executed by the processor implements the steps of:
acquiring the running environment of the current svn program;
and converting the user instruction into an instruction executable by a compiling server by combining the running environment of the current svn program.
9. The television terminal according to any of claims 6 to 8, wherein the compilation server code control program, when executed by the processor, performs the steps of:
after a window system client receives a user instruction, determining the type of the user instruction;
judging whether the type is a preset type or not;
when the type is a preset type, executing a step of converting the user instruction into an instruction conforming to a format of a compiling server;
and when the type is not a preset type, combining the user instruction with the user instruction through a local svn program, executing the user instruction, and outputting an execution result.
10. The television terminal according to any of claims 6 to 8, wherein the compilation server code control program, when executed by the processor, performs the steps of:
receiving input configuration information, and embedding the configuration information into the user instruction;
and converting the user instruction carrying the configuration information into an instruction conforming to a format of a compiling server.
11. A storage medium having a compilation server code control program stored thereon, the compilation server code control program, when executed by a processor, implementing the steps of the compilation server code control method according to any of claims 1 to 5.
CN201710440514.2A 2017-06-06 2017-06-06 Television terminal, compiling server code control method and storage medium Active CN107291460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710440514.2A CN107291460B (en) 2017-06-06 2017-06-06 Television terminal, compiling server code control method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710440514.2A CN107291460B (en) 2017-06-06 2017-06-06 Television terminal, compiling server code control method and storage medium

Publications (2)

Publication Number Publication Date
CN107291460A CN107291460A (en) 2017-10-24
CN107291460B true CN107291460B (en) 2021-02-05

Family

ID=60097757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710440514.2A Active CN107291460B (en) 2017-06-06 2017-06-06 Television terminal, compiling server code control method and storage medium

Country Status (1)

Country Link
CN (1) CN107291460B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563448B (en) * 2018-04-19 2021-08-17 图灵人工智能研究院(南京)有限公司 Program file compiling method, system, computer device and storage medium
CN110557417B (en) * 2018-05-31 2022-04-19 西安中兴新软件有限责任公司 Image processing method and device and storage medium
CN109799993A (en) * 2018-12-14 2019-05-24 深圳壹账通智能科技有限公司 Code compiling method, compiling equipment, storage medium and device
CN114006885A (en) * 2021-11-17 2022-02-01 印象(山东)大数据有限公司 Data acquisition method and device based on intelligent equipment and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571777A (en) * 2011-12-28 2012-07-11 畅捷通信息技术股份有限公司 Data acquisition device and data acquisition method
CN104038535A (en) * 2010-12-22 2014-09-10 北京华夏未来信息技术有限公司 Method for improving user experience in virtual application environment and virtual application system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038535A (en) * 2010-12-22 2014-09-10 北京华夏未来信息技术有限公司 Method for improving user experience in virtual application environment and virtual application system
CN102571777A (en) * 2011-12-28 2012-07-11 畅捷通信息技术股份有限公司 Data acquisition device and data acquisition method

Also Published As

Publication number Publication date
CN107291460A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN107291460B (en) Television terminal, compiling server code control method and storage medium
Huang et al. Programming situational mobile web applications with cloud-mobile convergence: an internetware-oriented approach
CN109857403B (en) Page updating method and device, page processing method and device
CN107992308B (en) Plug-in management method for android terminal application program
US20210337015A1 (en) Method and system of application development for multiple device client platforms
TWI709070B (en) Data processing method and device, terminal equipment, server
CN109215640B (en) Speech recognition method, intelligent terminal and computer readable storage medium
CN113377469A (en) Business interface display method and device for mobile application, terminal and storage medium
US9571557B2 (en) Script caching method and information processing device utilizing the same
CN107193565B (en) Method for developing native APP (application) across mobile terminals
CN107506180B (en) Page adjusting method, terminal and computer readable storage medium
CN108182090B (en) Flash plug-in loading method and device based on blink kernel
AU2020203975A1 (en) Information display method, terminal, and server
CN109145598B (en) Virus detection method and device for script file, terminal and storage medium
CN107707602B (en) Data communication processing terminal, method and computer readable storage medium
CN107179916B (en) A kind of application development method, apparatus, equipment and development frame system
CN108132787B (en) AGV touch interface design method and device and computer readable storage medium
CN106197394A (en) Air navigation aid and device
CN112987597B (en) FSU control method, device, equipment and computer readable storage medium
CN113094086B (en) Component integration method, device, computer readable storage medium and electronic equipment
KR102506155B1 (en) Electronic device, application executing system and control methods thereof
CN109284097B (en) Method, device, system and storage medium for realizing complex data analysis
CN109032651B (en) Application updating method, intelligent terminal and computer readable storage medium
CN113934618A (en) Interface test case generation method, device, generator and readable storage medium
CN106371818A (en) Method for generating user-level events for application program

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