Code segment running method, device, terminal and storage medium

An operation method and code segment technology, applied in software testing/debugging, etc., can solve problems such as inconvenient operation, consumption of transmission resources and transmission time, and achieve the effects of easy management, reduced transmission resources, and convenient operation

Active Publication Date: 2022-03-11
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the above solution, the code segment can only be modified after the code segment is run, which is inconvenient to operate, and can only be modified in units of code segments. After modifying the code segment, the modified code segment needs to be sent to the second terminal, which consumes a lot of time Excessive transmission resources and transmission time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code segment running method, device, terminal and storage medium
  • Code segment running method, device, terminal and storage medium
  • Code segment running method, device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0099] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in further detail below in conjunction with the implementation manners and accompanying drawings. Here, the exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure, but not to limit the present disclosure.

[0100] Embodiments of the present disclosure provide a code segment running method, device, terminal, and storage medium, and the present disclosure will be described in detail below with reference to the accompanying drawings.

[0101] First, the embodiment of the present disclosure provides an implementation environment, such as figure 2 As shown, the implementation environment includes a first terminal 201 and a second terminal 202, and the first terminal 201 and the second terminal 202 may be various types of devices such as mobile phones, computers, and tablet comp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The disclosure relates to a code segment running method, device, terminal and storage medium, and belongs to the field of computer technology. The method includes: establishing a communication connection with the second terminal; when it is determined that the second terminal stops running after running the previous instruction of the first target instruction in the code segment, acquiring a second target instruction used to replace the first target instruction; Sending the first running request carrying the second target instruction to the second terminal through the communication connection, instructing the second terminal to use the second target instruction as a substitute instruction for the first target instruction, and continue to run the code segment. Interacting through the communication connection established between the first terminal and the second terminal, the code segment can be modified while the second terminal is running the code segment, the operation is convenient, and the modification can be performed in units of instructions. The final instruction is sent to the second terminal without sending the entire modified code segment, which reduces the consumption of transmission resources and shortens the transmission time.

Description

technical field [0001] The present disclosure relates to the technical field of computers, and specifically relates to a code segment running method, device, terminal and storage medium. Background technique [0002] With the rapid development of computer technology, the functions of application programs are gradually increasing, and the scale is gradually expanding. Application program testing has become an indispensable step to verify the quality of application programs. After the technician develops the code segment of the application program, he usually needs to run the code segment to obtain the running result, so as to optimize and improve the code segment according to the running result. [0003] Such as figure 1 As shown, the first terminal establishes a communication connection with the second terminal. The technician develops the first code segment of the application program through the first terminal, and stores the first code segment in the first terminal. Whe...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 董永清潘温
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products