WO2018184547A1 - 一种代码移交的辅助方法、电子设备及介质 - Google Patents

一种代码移交的辅助方法、电子设备及介质 Download PDF

Info

Publication number
WO2018184547A1
WO2018184547A1 PCT/CN2018/081820 CN2018081820W WO2018184547A1 WO 2018184547 A1 WO2018184547 A1 WO 2018184547A1 CN 2018081820 W CN2018081820 W CN 2018081820W WO 2018184547 A1 WO2018184547 A1 WO 2018184547A1
Authority
WO
WIPO (PCT)
Prior art keywords
handover
auxiliary
handed over
format
function identifier
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.)
Ceased
Application number
PCT/CN2018/081820
Other languages
English (en)
French (fr)
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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Publication of WO2018184547A1 publication Critical patent/WO2018184547A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/06Electrically-operated educational appliances with both visual and audible presentation of the material to be studied
    • G09B5/065Combinations of audio and video presentations, e.g. videotapes, videodiscs, television systems

Definitions

  • the present application belongs to the field of computer technology, and in particular, to an auxiliary method, an electronic device, and a medium for code handover.
  • the embodiment of the present application provides an auxiliary method, an electronic device, and a medium for code handover to implement a handover operation instruction in an operation of a handover task.
  • a first aspect of an embodiment of the present application provides an auxiliary method for code handover, including:
  • the entry code is handed over to the auxiliary state to obtain the task number to be assisted;
  • the format of the content to be handed over is obtained according to the task number, and an auxiliary operation corresponding to the format of the content to be handed over is performed.
  • a second aspect of the embodiments of the present application provides an auxiliary electronic device for code handover, including:
  • a startup module configured to enter a code handover auxiliary state when the trigger information of the auxiliary function identifier on the code handover interface is detected, and obtain a task number to be assisted;
  • a determining module configured to determine whether the task number meets a handover condition
  • the handover assistant module is configured to: if the judgment result of the determination module is YES, obtain a format of the content to be handed over according to the task number, and perform an auxiliary operation corresponding to the format of the content to be handed over.
  • a third aspect of an embodiment of the present application provides an auxiliary electronic device for code handover, comprising a memory, a processor, and an input device, the memory storing computer readable instructions executable on the processor, The processor implements the following steps when executing the computer readable instructions:
  • the input device is configured to enable a user to trigger an auxiliary function identifier on the code handover interface, and obtain trigger information of the auxiliary function identifier;
  • the memory is for storing program code
  • the processor is configured to execute the program code stored by the memory to perform the following operations:
  • the format of the content to be handed over is obtained according to the task number, and an auxiliary operation corresponding to the format of the content to be handed over is performed.
  • a fourth aspect of the embodiments of the present application provides a computer readable storage medium storing computer readable instructions, wherein the computer readable instructions are implemented by at least one processor The following steps:
  • the entry code is handed over to the auxiliary state to obtain the task number to be assisted;
  • the format of the content to be handed over is obtained according to the task number, and an auxiliary operation corresponding to the format of the content to be handed over is performed.
  • the embodiment of the present application adds an auxiliary function identifier on the code handover interface.
  • the entry code hands over the auxiliary state, and obtains the task number to be assisted; determines whether the task number meets the handover condition; if yes, obtains the task number according to the task number
  • the format of the content to be handed over is performed, and the auxiliary operation corresponding to the format of the content to be handed over is performed; thereby implementing the instruction of the handover operation in the operation of the code handover, so that the new employee can perform targeted learning for the current handover task. No need to consult old staff, it is beneficial to improve the efficiency of code transfer operations.
  • FIG. 1 is a flowchart of an implementation of a method for assisting code handover according to a first embodiment of the present application
  • step S103 is a specific implementation flowchart of step S103 in the auxiliary method for code handover provided by the first embodiment of the present application;
  • FIG. 3 is a schematic block diagram of an electronic device according to a second embodiment of the present application.
  • FIG. 4 is a schematic block diagram of an electronic device according to a third embodiment of the present application.
  • the embodiment of the present application adds an auxiliary function identifier on the code handover interface.
  • the entry code hands over the auxiliary state, and obtains the task number to be assisted; determines whether the task number meets the handover condition; if yes, obtains the task number according to the task number
  • the format of the content to be handed over is performed, and the auxiliary operation corresponding to the format of the content to be handed over is performed; thereby implementing the instruction of the handover operation in the operation of the code handover, so that the new employee can perform targeted learning for the current handover task. No need to consult old staff, it is beneficial to improve the efficiency of code transfer operations.
  • the embodiment of the present application also provides an auxiliary device for corresponding code handover, which will be described in detail below.
  • FIG. 1 is a flowchart of an implementation of a method for assisting code handover according to a first embodiment of the present application.
  • the auxiliary method of the code handover is applied to an electronic device, including but not limited to a computer, a server, and the like.
  • the auxiliary method of the code handover includes:
  • step S101 when the trigger information of the auxiliary function identifier on the code handover interface is detected, the code handover assist state is entered, and the task number to be assisted is acquired.
  • the embodiment of the present application adds a function identifier for assisting handover on the code handover interface.
  • the auxiliary function identifier is used to start the code handover assisting tutorial, and can be set in an area such as an upper right corner and a lower right corner of the code handover interface, which is convenient for the user to browse and operate.
  • the electronic device device loads the auxiliary interface and enters the code handover assist state.
  • the code handover assist state other function identifiers are not allowed to operate except for the function identification that allows the current display mode to change.
  • the output prompts the user to select the information of the task number to be assisted, and obtains the task number selected by the user.
  • step S102 it is determined whether the task number meets the handover condition.
  • the code capable of performing the handover assisting operation should be closed in the DPM system (ie, the development process management system), that is, the compilation and the completion have been completed.
  • the determining whether the task number meets the handover condition is specifically: determining whether the task number is closed on the development process management system.
  • step S103 is performed. Otherwise, if the task number does not meet the handover condition, the reason for not meeting the handover condition is obtained, and the prompt information is output.
  • the prompt information is output to prompt the user that the handover condition is not fulfilled, please confirm whether the code is handed over to the SVN server and the task number is It has been closed.
  • the auxiliary method may further include: determining whether a user is currently performing a handover operation. If yes, the user who is currently performing the handover operation is obtained, and the warning information is output, and the warning information may be, for example, “the user XXX is currently handing over, please try again later”. Otherwise, if no user performs the handover operation at present, the prompt information for allowing the handover is output, and step S103 is performed.
  • step S103 the format of the content to be handed over is obtained according to the task number, and an auxiliary operation corresponding to the format of the content to be handed over is performed.
  • FIG. 2 shows a specific implementation process of step S103 in the auxiliary method of code handover provided by the embodiment of the present application.
  • the step S103 includes:
  • step S201 a corresponding one or more handover steps are acquired according to the format of the content to be handed over.
  • the format includes, but is not limited to, an Ear package (java file), a DB script (database), and the like.
  • Ear package java file
  • DB script database
  • Different formats include different number of handover steps, and some formats include a handover step. Some formats include multiple handover steps.
  • step S202 the one or more handover steps are inserted into the handover schedule in the order of execution, and the remark field corresponding to each handover step is set to be empty.
  • the embodiment of the present application establishes a corresponding handover schedule for the format of the handover content, and the handover schedule is used to record the format corresponding to the handover step and the execution state of each handover step.
  • each handover step corresponds to a remark field, and the remark field is used to indicate an execution state of the handover step.
  • the remark field is empty, it indicates that the handover step has not been executed.
  • the remark field is R
  • the handover step is being executed.
  • the remark field is Y
  • the handover step is performed.
  • the remark field is N, the handover is indicated. The step execution failed.
  • step S203 when the trigger information for the step auxiliary function identification is detected, the target handover step to be executed is read from the handover schedule, and the progress monitoring thread corresponding to the target handover step is started.
  • the upcoming target handover step is a handover step in which the top-ranked and remark fields are empty in the handover schedule.
  • step S204 the display manner of the function identifier corresponding to the target handover step is adjusted, and the corresponding introduction term is displayed next to the function identifier.
  • the function identification refers to a virtual function button.
  • the color, size, and shape of the function identifier corresponding to the target handover step may be changed, or set to highlight, blink, shake, etc., to prompt the user to perform the function identification of the target handover step.
  • an introduction term corresponding to the function identifier may be displayed next to the function identifier, where the introduction term includes text and picture information, and may be set in an upper left corner and an upper right corner of the function identifier to further Help the user to learn the target handover steps and function identification.
  • the auxiliary method may further include:
  • the other function identifiers other than the function identifier corresponding to the target handover step are set to the prohibited operation state.
  • the function identification set to the prohibited operation state may be rendered by blurring, reducing brightness, changing the color tone, and the like.
  • the embodiment of the present application sets other function identifiers other than the function identifiers of the display mode to the prohibition operation state, which is beneficial for the user to avoid the erroneous operation and the leakage operation.
  • step S205 the log status of the target handover step is cyclically queried by the progress monitoring thread. If the log status is successful, the remark field corresponding to the target handover step is marked as executed.
  • each handover step automatically updates its corresponding log status after execution.
  • the progress monitoring thread queries the log status of the target handover step in real time to know whether the handover step is completed. If the progress monitoring thread queries the log status as handover completion, the remark field corresponding to the target handover step is marked as Y, indicating that execution has been performed, and the progress monitoring thread is ended.
  • the next target handover step to be executed is acquired, and a progress monitoring thread is restarted, and the execution of the next target handover step to be executed is continuously monitored, and so on. Until all the handover steps corresponding to the task number are completed.
  • the embodiment of the present application adds an auxiliary function identifier to the code handover interface.
  • the entry code hands over the auxiliary state, and obtains the task number to be assisted; determines whether the task number meets the handover condition; if yes, obtains the task number according to the task number
  • the format of the content to be handed over is performed, and the auxiliary operation corresponding to the format of the content to be handed over is performed; thereby implementing the instruction of the handover operation in the operation of the code handover, so that the new employee can perform targeted learning for the current handover task. No need to consult old staff, it is beneficial to improve the efficiency of code transfer operations.
  • the size of the serial number of each step does not mean the order of execution order, and the order of execution of each step should be determined by its function and internal logic, and should not constitute any implementation process of the embodiment of the present application. limited.
  • FIG. 3 is a schematic block diagram of an electronic device according to a second embodiment of the present application. For convenience of description, only parts related to the embodiment of the present application are shown.
  • the electronic device is used to implement the method for assisting the code handover described in the foregoing embodiments of FIG. 1 and FIG. 2, and may be a software unit, a hardware unit, or a combination of software and hardware.
  • the electronic device includes, but is not limited to, a computer, a server, and the like.
  • the electronic device includes:
  • the startup module 31 is configured to enter a code handover auxiliary state when the trigger information of the auxiliary function identifier on the code handover interface is detected, and obtain a task number to be assisted.
  • the determining module 32 is configured to determine whether the task number meets a handover condition.
  • the handover assistance module 33 is configured to: when the determination result of the determination module is YES, obtain a format of the content to be handed over according to the task number, and perform an auxiliary operation corresponding to the format of the content to be handed over.
  • the embodiment of the present application adds a function identifier for assisting handover on the code handover interface.
  • the auxiliary function identifier is used to start the code handover assisting tutorial, and can be set in an area such as an upper right corner and a lower right corner of the code handover interface, which is convenient for the user to browse and operate.
  • the startup module 31 detects the trigger information of the auxiliary function identifier by the user, the auxiliary interface is loaded, and the electronic device is controlled to enter the code handover assist state. In the code handover assist state, other function identifiers are not allowed to operate except for the function identification that allows the current display mode to change.
  • the startup module 31 further controls the electronic device to output information prompting the user to select a task number to be assisted, and obtain a task number selected by the user.
  • the code capable of performing the handover assisting operation should be closed in the DPM system (ie, the development process management system), that is, the compilation and the completion have been completed.
  • the determining module 32 is specifically configured to:
  • the assistance operation is performed by the handover assistance module 33.
  • the determining module 32 may further be configured to: determine whether a user is currently performing a handover operation. If yes, the user who is currently performing the handover operation is obtained, and the warning information is output, and the warning information may be, for example, “the user XXX is currently handing over, please try again later”. Otherwise, no user currently performs the handover operation, and the prompt information for allowing the handover is output, and the auxiliary operation is performed by the handover assistance module 33.
  • the handover assistance module 33 specifically includes:
  • the obtaining unit 331 is configured to obtain, according to the format of the content to be handed over, a corresponding one or more handover steps;
  • the setting unit 332 is configured to insert the one or more handover steps into the handover schedule according to the execution order, and set the remark field corresponding to each handover step to be empty;
  • the step start unit 333 is configured to: when the trigger information for the step auxiliary function identifier is detected, read the target handover step to be executed from the handover schedule, and start the progress monitoring thread corresponding to the target handover step;
  • the step assisting unit 334 is configured to adjust a display manner of the function identifier corresponding to the target handover step, and display a corresponding introduction term next to the function identifier;
  • the marking unit 335 is configured to cycle through the log status of the target handover step by the progress monitoring thread. If the log status is successful, the remark field corresponding to the target handover step is marked as executed.
  • the format includes, for example, an Ear package (java file), a DB script (database), and the like.
  • Ear package java file
  • DB script database
  • Different formats include different number of handover steps, some include a handover step, and some formats include multiple handover steps.
  • the embodiment of the present application establishes a corresponding handover schedule for the format of the handover content, and the handover schedule is used to record the handover step included in the format and the execution state of each handover step.
  • each handover step corresponds to a remark field, and the remark field is used to indicate an execution state of the handover step.
  • the remark field is empty, it indicates that the handover step has not been executed.
  • the remark field is R
  • the handover step is being executed.
  • the remark field is Y
  • the handover step is performed.
  • the remark field is N, the handover is indicated. The step execution failed.
  • the handover step to be performed is a handover step in which the top-ranked and remark fields are empty in the handover schedule.
  • the progress monitoring thread corresponding to the upcoming target handover step is started at the controller layer of the java. The progress monitoring thread is used to cyclically query the log status of the target handover step.
  • the step assistance unit 334 adjusts the display manner of the function identifier corresponding to the target handover step.
  • the color, size, and shape of the function identifier corresponding to the target handover step may be changed, or may be set to highlight, blink, shake, etc., to prompt the user to perform the function identifier that needs to be operated when the target handover step is performed.
  • an introduction term corresponding to the function identifier may be displayed next to the function identifier, where the introduction term includes text and picture information to further assist the user in learning the handover step and the function identifier.
  • Each corresponding handover step is automatically updated with its corresponding log status after it is completed.
  • the marking unit 335 queries the log status of the target handover step by the progress monitoring thread to know whether the target handover step is completed. If the progress monitoring thread queries the log status as handover completion, the remark field corresponding to the handover step is marked as Y, indicating that execution has been performed, and the progress monitoring thread is ended.
  • step starting unit 333 acquires the trigger information of the step auxiliary function identification by the user again, the next target handover step to be executed is acquired, and a progress monitoring thread is restarted, and the next upcoming target is continuously monitored. The execution of the handover step, so reciprocating, until all the handover steps corresponding to the task number are completed.
  • step auxiliary unit 334 is further configured to:
  • the other function identifiers other than the function identifier corresponding to the target handover step are set to the prohibited operation state.
  • the electronic device further includes:
  • the prompting module 34 is configured to: if the task number does not meet the handover condition, obtain a reason that does not meet the handover condition, and output prompt information.
  • the device in the embodiment of the present application may be used to implement all the technical solutions in the foregoing method embodiments, and the functions of the respective functional modules may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to The related descriptions in the above examples are not described herein again.
  • the embodiment of the present application adds an auxiliary function identifier to the code handover interface.
  • the entry code hands over the auxiliary state, and obtains the task number to be assisted; determines whether the task number meets the handover condition; if yes, obtains the task number according to the task number
  • the format of the content to be handed over is performed, and the auxiliary operation corresponding to the format of the content to be handed over is performed; thereby implementing the instruction of the handover operation in the operation of the code handover, so that the new employee can perform targeted learning for the current handover task. No need to consult old staff, it is beneficial to improve the efficiency of code transfer operations.
  • FIG. 4 is a schematic block diagram of an electronic device provided by a third embodiment of the present application.
  • the electronic device as shown may include one or more processors 501 (only one shown); one or more input devices 502 (only one shown), one or more output devices 503 (only one is shown in the figure), memory 504.
  • the processor 501, the input device 502, the output device 503, and the memory 504 are connected by a bus 506.
  • the input device 502 is configured to enable a user to trigger an auxiliary function identifier on the code handover interface, and obtain trigger information of the auxiliary function identifier.
  • the memory 504 is for storing program code.
  • the processor 501 is configured to execute the program code stored by the memory to perform the following operations:
  • the format of the content to be handed over is obtained according to the task number, and an auxiliary operation corresponding to the format of the content to be handed over is performed.
  • the obtaining the format of the content to be handed over according to the task number, and performing the auxiliary operation corresponding to the format of the content to be handed over further includes:
  • the target handover step to be executed is read from the handover schedule, and the progress monitoring thread corresponding to the target handover step is started;
  • the log status of the target handover step is cyclically queried by the progress monitoring thread. If the log status is successful, the remark field corresponding to the target handover step is marked as executed.
  • the output device 503 is configured to: display the function identifier corresponding to the target handover step according to the adjusted display manner, and display the corresponding introduction term next to the function identifier.
  • the processor 501 is further configured to:
  • the other function identifiers other than the function identifier corresponding to the target handover step are set to the prohibited operation state.
  • processor 501 is further configured to:
  • the output device 503 is further configured to: output prompt information.
  • processor 501 may be a central processing unit (Central) Processing Unit, CPU) and / or graphics processor (Graphic Processing Unit (GPU), can also be combined with other general-purpose processors, digital signal processors (DSP), ASICs (Application) Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
  • CPU central processing unit
  • GPU Graphics
  • the input device 502 can include a touchpad, a fingerprint sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, a communication module (such as a Wi-Fi module, a 2G/3G/4G network module), a physical button, and the like. .
  • the output device 503 can include a display (LCD or the like), a speaker, and the like.
  • the display can be used to display information input by the user or information provided to the user, and the like.
  • the display may include a display panel, optionally, a liquid crystal display (Liquid)
  • a display panel is configured in the form of a Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED).
  • the touch panel may be covered on the display. When the touch panel detects a touch operation on or near the touch panel, the touch panel transmits to the processor 501 to determine the type of the touch event, and then the processor 501 according to the type of the touch event. Provide the corresponding visual output on the display.
  • the processor 501, the input device 502, the output device 503, and the memory 504 described in the embodiments of the present application may implement the implementation manner described in the embodiment of the method for assisting the code handover provided by the embodiment of the present application. This will not be repeated here.
  • the disclosed method and apparatus may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules and units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit and module in each embodiment of the present application may be integrated into one processing unit, or each unit or module may exist physically separately, or two or more units or modules may be integrated into one unit. .
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), and a random access memory (RAM, Random Access).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本申请适用于计算机技术领域,提供了一种代码移交的辅助方法、电子设备及介质,所述辅助方法包括:当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;判断所述任务号是否符合移交条件;若是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。本申请实现了在代码移交的操作过程中结合移交操作指导,使得新入职员工可以针对当前的移交任务进行针对性学习,无需请教老员工。

Description

一种代码移交的辅助方法、电子设备及介质
本申请要求于2017年04月06日提交中国专利局、申请号为201710221078.X、发明名称为“一种代码移交的辅助方法及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请属于计算机技术领域,尤其涉及一种代码移交的辅助方法、电子设备及介质。
背景技术
企业一般具备较为完善的代码维护机制,然而完善的代码维护机制在一定程度上增加了代码移交流程的复杂性。在没有移交操作流程的帮助下,新入职员工往往不能独自完成代码移交流程,需要随时请教老员工,既浪费了老员工的时间,也影响了新员工的学习效率。现有技术也可以通过录制移交操作视频来供新入职员工学习,然而这种学习方式是学习过程和移交任务分开的,效率低,新入职员工无法针对当前的移交任务进行针对性的实时性学习。
因此,有必要提供一种新的技术方案,以解决上述技术问题。
技术问题
鉴于此,本申请实施例提供了一种代码移交的辅助方法、电子设备及介质,以实现在移交任务的操作过程中结合移交操作指导。
技术解决方案
本申请实施例的第一方面提供了一种代码移交的辅助方法,包括:
当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;
判断所述任务号是否符合移交条件;
若是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
本申请实施例的第二方面提供了一种代码移交的辅助电子设备,包括:
启动模块,用于当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;
判断模块,用于判断所述任务号是否符合移交条件;
移交辅助模块,用于若判断模块的判断结果为是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
本申请实施例的第三方面提供了一种代码移交的辅助电子设备,包括存储器、处理器以及输入设备,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:
所述输入设备用于供用户触发代码移交界面上的辅助功能标识,获取所述辅助功能标识的触发信息;
所述存储器用于存储程序代码;
所述处理器用于执行所述存储器存储的程序代码以执行如下操作:
进入代码移交辅助状态,获取待辅助的任务号;
判断所述任务号是否符合移交条件;
若是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被至少一个处理器执行时实现如下步骤:
当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;
判断所述任务号是否符合移交条件;
若是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
有益效果
与现有技术相比,本申请实施例在代码移交界面上增加了辅助功能标识。当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;判断所述任务号是否符合移交条件;若是时,则根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作;从而实现了在代码移交的操作过程中结合移交操作指导,使得新入职员工可以针对当前的移交任务进行针对性学习,无需请教老员工,有利于提高代码移交操作的学习效率。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本申请第一实施例提供的代码移交的辅助方法的实现流程图;
图2是本申请第一实施例提供的代码移交的辅助方法中步骤S103的具体实现流程图;
图3是本申请第二实施例提供的电子设备的示意性框图;
图4是本申请第三实施例提供的电子设备的示意性框图。
本发明的实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。
本申请实施例在代码移交界面上增加了辅助功能标识。当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;判断所述任务号是否符合移交条件;若是时,则根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作;从而实现了在代码移交的操作过程中结合移交操作指导,使得新入职员工可以针对当前的移交任务进行针对性学习,无需请教老员工,有利于提高代码移交操作的学习效率。本申请实施例还提供了相应的代码移交的辅助装置,以下分别进行详细的说明。
图1是本申请第一实施例提供的代码移交的辅助方法的实现流程。
在本申请实施例中,所述代码移交的辅助方法应用于电子设备上,所述电子设备包括但不限于计算机、服务器等。参阅图1,所述代码移交的辅助方法包括:
在步骤S101中,当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号。
本申请实施例在代码移交界面上增加了辅助移交的功能标识。所述辅助功能标识用于启动代码移交辅助教程,可以设置在比如代码移交界面的右上角、右下角等便于用户浏览和操作的区域。当检测到用户对所述辅助功能标识的触发信息时,电子设备设备加载辅助界面,并进入代码移交辅助状态。在所述代码移交辅助状态下,除了当前显示方式发生变化的功能标识允许操作外,其他功能标识一概不得操作。在进入代码移交辅助状态后,输出提示用户选择待辅助的任务号的信息,并获取用户选取的任务号。
在步骤S102中,判断所述任务号是否符合移交条件。
在本申请实施例中,能够进行移交辅助操作的代码在DPM系统(即开发流程管理系统)中应当是已经关闭的,即已经完成编译且通过的。所述判断所述任务号是否符合移交条件具体为:判断所述任务号在开发流程管理系统上是否已关闭。
若所述任务号符合移交条件,则执行步骤S103。否则,在若所述任务号不符合移交条件时,获取不符合移交条件的原因,并输出提示信息。
示例性地,如前所述,若所述任务号在所述开发流程管理系统上未关闭,则输出提示信息,以提示用户移交条件未达成,请确认代码是否移交SVN服务器且该任务号是否已经关闭。
可选地,在步骤S103之前,所述辅助方法还可以包括:判断当前是否有用户正在执行移交操作。若是时,则获取当前正在执行移交操作的用户,并输出警示信息,所述警示信息可以为比如“当前有用户XXX正在移交,请稍后再试”。否则,当前无用户执行移交操作,则输出允许移交的提示信息,执行步骤S103。
在步骤S103中,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
可选地,图2示出了本申请实施例提供的代码移交的辅助方法中步骤S103的具体实现流程。参阅图2,所述步骤S103包括:
在步骤S201中,根据所述待移交内容的格式获取对应的一个或多个移交步骤。
示例性地,所述格式包括但不限于Ear包(java文件)、DB脚本(数据库)等。不同格式其包括不相同的移交步骤数,有的格式包括一个移交步骤有的格式则包括多个移交步骤。
在步骤S202中,将所述一个或多个移交步骤按照执行顺序插入移交进度表中,并设置每一个移交步骤对应的remark字段为空。
在这里,本申请实施例对待移交内容的格式建立对应的移交进度表,该移交进度表用于记录所述待移交内容的格式对应移交步骤及每一个移交步骤的执行状态。可选地,每一个移交步骤对应一个remark字段,所述remark字段用于表示该移交步骤的执行状态。其中,当remark字段为空时表示该移交步骤尚未执行,当remark字段为R时表示该移交步骤正在执行,当remark字段为Y时表示该移交步骤已执行, 当remark字段为N时表示该移交步骤执行失败。
在步骤S203中,当检测到对步骤辅助功能标识的触发信息时,从所述移交进度表中读取即将执行的目标移交步骤,并启动所述目标移交步骤对应的进度监控线程。
示例性地,所述步骤辅助功能标识用于启动下一个即将执行的目标移交步骤,可以为比如“下一步”“步骤n(n=1、2、3……)”等功能标识。在这里,由于移交步骤在所述移交进度表中是按照执行顺序插入的,因此所述即将执行的目标移交步骤为所述移交进度表中排列最前的且remark字段为空的移交步骤。在获取到目标移交步骤后,本申请实施例同时在java的controller层启动所述目标移交步骤对应的进度监控线程。该进度监控线程用于循环查询所述目标移交步骤的日志状态。
在步骤S204中,调整所述目标移交步骤对应的功能标识的显示方式,并在所述功能标识旁显示其对应的介绍词条。
在这里,所述功能标识是指虚拟的功能按键。示例性地,可以改变所述目标移交步骤对应的功能标识的颜色、大小、形状,或者设置为高亮、闪烁、抖动等,以提示用户执行该目标移交步骤时需要操作的功能标识。进一步地,还可以在所述功能标识旁边显示所述功能标识对应的介绍词条,所述介绍词条包括文本以及图片信息,可以设置在所述功能标识的左上角、右上角显示,以进一步帮助用户学习所述目标移交步骤及功能标识。
可选地,如前所述,在所述代码移交辅助状态下,除了当前改变显示方式的功能标识允许操作外,其他功能标识一概不得操作,在所述步骤S204改变所述目标移交步骤对应的功能标识的显示方式之后,所述辅助方法还可以包括:
将除所述目标移交步骤对应的功能标识外的其他功能标识置为禁止操作状态。
示例性地,为了区分于当前处于可操作状态的功能标识,可以采用模糊、降低亮度、改变色调等方式对置为禁止操作状态的功能标识进行渲染。本申请实施例将除了改变显示方式的功能标识外的其他功能标识设置为禁止操作状态,有利于用户避免误操作以及漏操作的情况。
在步骤S205中,通过所述进度监控线程循环查询所述目标移交步骤的日志状态,若所述日志状态为移交成功时,将所述目标移交步骤对应的remark字段标记为已执行。
在本申请实施例中,每一个移交步骤在执行完后均会自动更新其对应的日志状态。本申请实施例通过所述进度监控线程实时地查询所述目标移交步骤的日志状态来获知该移交步骤是否执行完成。若所述进度监控线程查询到所述日志状态为移交完成,则将该目标移交步骤对应的remark字段标记为Y,表示已执行,并结束所述进度监控线程。
当用户再次触发所述步骤辅助功能标识时,则获取下一个即将执行的目标移交步骤,并重新启动一条进度监控线程,继续监控所述下一个即将执行的目标移交步骤的执行情况,如此往复,直至该任务号对应的所有移交步骤执行完毕。
综上所述,本申请实施例在代码移交界面上增加了辅助功能标识。当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;判断所述任务号是否符合移交条件;若是时,则根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作;从而实现了在代码移交的操作过程中结合移交操作指导,使得新入职员工可以针对当前的移交任务进行针对性学习,无需请教老员工,有利于提高代码移交操作的学习效率。
应理解,在上述实施例中,各步骤的序号的大小并不意味着执行顺序的先后,各步骤的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
图3示出了本申请第二实施例提供的电子设备的示意性框图,为了便于说明,仅示出了与本申请实施例相关的部分。
在本申请实施例中,所述电子设备用于实现上述图1、图2实施例中所述的代码移交的辅助方法,可以是软件单元、硬件单元或者软硬件结合的单元。所述电子设备包括但不限于计算机、服务器等。
参阅图3,所述电子设备包括:
启动模块31,用于当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号。
判断模块32,用于判断所述任务号是否符合移交条件。
移交辅助模块33,用于若判断模块的判断结果为是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
本申请实施例在代码移交界面上增加了辅助移交的功能标识。所述辅助功能标识用于启动代码移交辅助教程,可以设置在比如代码移交界面的右上角、右下角等便于用户浏览和操作的区域。当启动模块31检测到用户对所述辅助功能标识的触发信息时,则加载辅助界面,并控制电子设备进入代码移交辅助状态。在所述代码移交辅助状态下,除了当前显示方式发生变化的功能标识允许操作外,其他功能标识一概不得操作。所述启动模块31还控制电子设备输出提示用户选择待辅助的任务号的信息,并获取用户选取的任务号。
在本申请实施例中,能够进行移交辅助操作的代码在DPM系统(即开发流程管理系统)中应当是已经关闭的,即已经完成编译且通过的。所述判断模块32具体用于:
判断所述任务号在开发流程管理系统上是否已关闭。
若所述任务号在开发流程管理系统上已关闭,则通过移交辅助模块33执行辅助操作。可选地,在通过移交辅助模块33执行辅助操作之前,所述判断模块32还可以用于:判断当前是否有用户正在执行移交操作。若是时,则获取当前正在执行移交操作的用户,并输出警示信息,所述警示信息可以为比如“当前有用户XXX正在移交,请稍后再试”。否则,当前无用户执行移交操作,输出允许移交的提示信息,通过移交辅助模块33执行辅助操作。
进一步地,所述移交辅助模块33具体包括:
获取单元331,用于根据所述待移交内容的格式获取对应的一个或多个移交步骤;
设置单元332,用于将所述一个或多个移交步骤按照执行顺序插入移交进度表中,并设置每一个移交步骤对应的remark字段为空;
步骤启动单元333,用于当检测到对步骤辅助功能标识的触发信息时,从所述移交进度表中读取即将执行的目标移交步骤,并启动所述目标移交步骤对应的进度监控线程;
步骤辅助单元334,用于调整所述目标移交步骤对应的功能标识的显示方式,并在所述功能标识旁显示其对应的介绍词条;
标记单元335,用于通过所述进度监控线程循环查询所述目标移交步骤的日志状态,若所述日志状态为移交成功时,将所述目标移交步骤对应的remark字段标记为已执行。
其中,所述格式包括比如Ear包(java文件)、DB脚本(数据库)等。不同的格式其包括不相同的移交步骤数,有的格式包括一个移交步骤,有的格式则包括多个移交步骤。
本申请实施例对待移交内容的格式建立对应的移交进度表,该移交进度表用于记录该格式所包括的移交步骤及每一个移交步骤的执行状态。可选地,每一个移交步骤对应一个remark字段,所述remark字段用于表示该移交步骤的执行状态。其中,当remark字段为空时表示该移交步骤尚未执行,当remark字段为R时表示该移交步骤正在执行,当remark字段为Y时表示该移交步骤已执行, 当remark字段为N时表示该移交步骤执行失败。
所述步骤辅助功能标识用于启动下一个即将执行的目标移交步骤,可以为比如“下一步”、“步骤n(n=1、2、3……)”等功能标识。在这里,由于移交步骤在所述移交进度表中是按照执行顺序插入的,因此所述即将执行的移交步骤为所述移交进度表中排列最前的且remark字段为空的移交步骤。本申请实施例同时在java的controller层启动所述即将执行的目标移交步骤对应的进度监控线程。该进度监控线程用于循环查询所述目标移交步骤的日志状态。
在所述步骤启动单元333从所述移交进度表中读取即将执行的目标移交步骤之后,所述步骤辅助单元334则对所述目标移交步骤对应的功能标识的显示方式进行调整。可选地,可以改变所述目标移交步骤对应的功能标识的颜色、大小、形状,或者设置为高亮、闪烁、抖动等,以提示用户执行该目标移交步骤时需要操作的功能标识。进一步地,还可以在所述功能标识旁边显示所述功能标识对应的介绍词条,所述介绍词条包括文本以及图片信息,以进一步帮助用户学习所述移交步骤及功能标识。
每一个移交步骤执行完成后均会自动更新其对应的日志状态。所述标记单元335通过所述进度监控线程查询所述目标移交步骤的日志状态来获知该目标移交步骤是否执行完成。若所述进度监控线程查询到所述日志状态为移交完成,则将该移交步骤对应的remark字段标记为Y,表示已执行,并结束所述进度监控线程。
当步骤启动单元333再次获取到用户对所述步骤辅助功能标识的触发信息时,则获取下一个即将执行的目标移交步骤,并重新启动一条进度监控线程,继续监控所述下一个即将执行的目标移交步骤的执行情况,如此往复,直至该任务号对应的所有移交步骤执行完毕。
进一步地,所述步骤辅助单元334还用于:
在调整所述目标移交步骤对应的功能标识的显示方式之后,将除所述目标移交步骤对应的功能标识外的其他功能标识置为禁止操作状态。
进一步地,所述电子设备还包括:
提示模块34,用于若所述任务号不符合移交条件时,获取不符合移交条件的原因,并输出提示信息。
需要说明的是,本申请实施例中的装置可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实例中的相关描述,此处不再赘述。
综上所述,本申请实施例在代码移交界面上增加了辅助功能标识。当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;判断所述任务号是否符合移交条件;若是时,则根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作;从而实现了在代码移交的操作过程中结合移交操作指导,使得新入职员工可以针对当前的移交任务进行针对性学习,无需请教老员工,有利于提高代码移交操作的学习效率。
为了便于更好地实施本申请实施例中的上述方法实施例,本申请还提供了用于配合实施执行上述方法实施例的相关电子设备。图4给出本申请第三实施例提供的电子设备的示意性框图。如图所示的该电子设备可以包括:一个或多个处理器501(图中仅示出一个);一个或多个输入设备502(图中仅示出一个),一个或多个输出设备503(图中仅示出一个)、存储器504。上述处理器501、输入设备502、输出设备503、存储器504通过总线506连接。所述输入设备502用于供用户触发代码移交界面上的辅助功能标识,获取所述辅助功能标识的触发信息。所述存储器504用于存储程序代码。所述处理器501用于执行所述存储器存储的程序代码以执行如下操作:
进入代码移交辅助状态,获取待辅助的任务号;
判断所述任务号是否符合移交条件;
若是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
可选地,所述根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作还包括:
根据所述待移交内容的格式获取对应的一个或多个移交步骤;
将所述一个或多个移交步骤按照执行顺序插入移交进度表中,并设置每一个移交步骤对应的remark字段为空;
当检测到对步骤辅助功能标识的触发信息时,从所述移交进度表中读取即将执行的目标移交步骤,并启动所述目标移交步骤对应的进度监控线程;
调整所述目标移交步骤对应的功能标识的显示方式,并在所述功能标识旁显示其对应的介绍词条;
通过所述进度监控线程循环查询所述目标移交步骤的日志状态,若所述日志状态为移交成功时,将所述目标移交步骤对应的remark字段标记为已执行。
所述输出设备503用于:按照调整后的显示方式显示所述目标移交步骤对应的功能标识,并在所述功能标识旁显示其对应的介绍词条。
可选地,在调整所述目标移交步骤对应的功能标识的显示方式之后,所述处理器501还用于:
将除所述目标移交步骤对应的功能标识外的其他功能标识置为禁止操作状态。
可选地,所述处理器501还用于:
若所述任务号不符合移交条件时,获取不符合移交条件的原因;
所述输出设备503还用于:输出提示信息。
应当理解,在本申请实施例中,所称处理器501可以是中央处理单元(Central Processing Unit,CPU) 和/或图形处理器(Graphic Processing Unit,GPU),也可以在此基础上结合其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现成可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。
输入设备502可以包括触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风、通信模块(比如Wi-Fi模块、2G/3G/4G网络模块)、物理按键等。
输出设备503可以包括显示器(LCD等)、扬声器等。其中,显示器可用于显示由用户输入的信息或提供给用户的信息等。显示器可包括显示面板,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode, OLED)等形式来配置显示面板。进一步的,上述触控板可覆盖在显示器上,当触控板检测到在其上或附近的触摸操作后,传送给处理器501以确定触摸事件的类型,随后处理器501根据触摸事件的类型在显示器上提供相应的视觉输出。
具体实现中,本申请实施例中所描述的处理器501、输入设备502、输出设备503、存储器504可执行本申请实施例提供的代码移交的辅助方法的实施例中所描述的实现方式,在此不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的方法及装置,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块、单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元、模块单独物理存在,也可以两个或两个以上单元、模块集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。

Claims (20)

  1. 一种代码移交的辅助方法,其特征在于,包括:
    当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;
    判断所述任务号是否符合移交条件;
    若是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
  2. 如权利要求1所述的辅助方法,其特征在于,所述根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作,包括:
    根据所述待移交内容的格式获取对应的一个或多个移交步骤;
    将所述一个或多个移交步骤按照执行顺序插入移交进度表中,并设置每一个移交步骤对应的remark字段为空;
    当检测到对步骤辅助功能标识的触发信息时,从所述移交进度表中读取即将执行的目标移交步骤,并启动所述目标移交步骤对应的进度监控线程;
    调整所述目标移交步骤对应的功能标识的显示方式,并在所述功能标识旁显示其对应的介绍词条;
    通过所述进度监控线程循环查询所述目标移交步骤的日志状态,若所述日志状态为移交成功时,将所述目标移交步骤对应的remark字段标记为已执行。
  3. 如权利要求2所述的辅助方法,其特征在于,在调整所述目标移交步骤对应的功能标识的显示方式之后,还包括:
    将除所述目标移交步骤对应的功能标识外的其他功能标识置为禁止操作状态。
  4. 如权利要求1至3任一项所述的辅助方法,其特征在于,还包括:
    若所述任务号不符合移交条件时,获取不符合移交条件的原因,并输出提示信息。
  5. 如权利要求1所述的辅助方法,其特征在于,在所述根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作之前,还包括:
    判断当前是否有用户正在执行移交操作;
    若是时,则获取当前正在执行移交操作的用户,并输出警示信息。
  6. 一种代码移交的辅助电子设备,其特征在于,包括:
    启动模块,用于当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;
    判断模块,用于判断所述任务号是否符合移交条件;
    移交辅助模块,用于若判断模块的判断结果为是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
  7. 如权利要求6所述的辅助电子设备,其特征在于,所述移交辅助模块包括:
    获取单元,用于根据所述待移交内容的格式获取对应的一个或多个移交步骤;
    设置单元,用于将所述一个或多个移交步骤按照执行顺序插入移交进度表中,并设置每一个移交步骤对应的remark字段为空;
    步骤启动单元,用于当检测到对步骤辅助功能标识的触发信息时,从所述移交进度表中读取即将执行的目标移交步骤,并启动所述目标移交步骤对应的进度监控线程;
    步骤辅助单元,用于调整所述目标移交步骤对应的功能标识的显示方式,并在所述功能标识旁显示其对应的介绍词条;
    标记单元,用于通过所述进度监控线程循环查询所述目标移交步骤的日志状态,若所述日志状态为移交成功时,将所述目标移交步骤对应的remark字段标记为已执行。
  8. 如权利要求6所述的辅助电子设备,其特征在于,所述步骤辅助单元还用于:
    在调整所述目标移交步骤对应的功能标识的显示方式之后,将除所述目标移交步骤对应的功能标识外的其他功能标识置为禁止操作状态。
  9. 如权利要求6至8任意一项所述的辅助电子设备,其特征在于,所述电子设备还包括:
    提示模块,用于若所述任务号不符合移交条件时,获取不符合移交条件的原因,并输出提示信息。
  10. 如权利要求6所述的辅助电子设备,其特征在于,所述移交辅助模块还用于:
    判断当前是否有用户正在执行移交操作;
    若是时,则获取当前正在执行移交操作的用户,并输出警示信息。
  11. 一种代码移交的辅助电子设备,其特征在于,所述代码移交的辅助处理电子设备包括存储器、处理器以及输入设备,所述存储器上存储有可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:
    所述输入设备用于供用户触发代码移交界面上的辅助功能标识,获取所述辅助功能标识的触发信息;
    所述存储器用于存储程序代码;
    所述处理器用于执行所述存储器存储的程序代码以执行如下操作:
    进入代码移交辅助状态,获取待辅助的任务号;
    判断所述任务号是否符合移交条件;
    若是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
  12. 如权利要求11所述的辅助电子设备,其特征在于,所述根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作,具体包括:
    根据所述待移交内容的格式获取对应的一个或多个移交步骤;
    将所述一个或多个移交步骤按照执行顺序插入移交进度表中,并设置每一个移交步骤对应的remark字段为空;
    当检测到对步骤辅助功能标识的触发信息时,从所述移交进度表中读取即将执行的目标移交步骤,并启动所述目标移交步骤对应的进度监控线程;
    调整所述目标移交步骤对应的功能标识的显示方式,并在所述功能标识旁显示其对应的介绍词条;
    通过所述进度监控线程循环查询所述目标移交步骤的日志状态,若所述日志状态为移交成功时,将所述目标移交步骤对应的remark字段标记为已执行。
  13. 如权利要求12所述的辅助电子设备,其特征在于,在调整所述目标移交步骤对应的功能标识的显示方式之后,还包括:
    所述处理器将除所述目标移交步骤对应的功能标识外的其他功能标识置为禁止操作状态。
  14. 如权利要求11至13任一项所述的辅助电子设备,其特征在于,还包括:
    若所述任务号不符合移交条件时,所述处理器获取不符合移交条件的原因,并输出提示信息。
  15. 如权利要求11所述的辅助电子设备,其特征在于,在所述根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作之前,还包括:
    所述处理器判断当前是否有用户正在执行移交操作;
    若是时,则获取当前正在执行移交操作的用户,并输出警示信息。
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被至少一个处理器执行时实现如下步骤:
    当检测到对代码移交界面上的辅助功能标识的触发信息时,进入代码移交辅助状态,获取待辅助的任务号;
    判断所述任务号是否符合移交条件;
    若是时,根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作。
  17. 根据权利要求16所述的计算机可读存储介质,其特征在于,所述根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作包括:
    根据所述待移交内容的格式获取对应的一个或多个移交步骤;
    将所述一个或多个移交步骤按照执行顺序插入移交进度表中,并设置每一个移交步骤对应的remark字段为空;
    当检测到对步骤辅助功能标识的触发信息时,从所述移交进度表中读取即将执行的目标移交步骤,并启动所述目标移交步骤对应的进度监控线程;
    调整所述目标移交步骤对应的功能标识的显示方式,并在所述功能标识旁显示其对应的介绍词条;
    通过所述进度监控线程循环查询所述目标移交步骤的日志状态,若所述日志状态为移交成功时,将所述目标移交步骤对应的remark字段标记为已执行。
  18. 根据权利要求16所述的计算机可读存储介质,其特征在于,在调整所述目标移交步骤对应的功能标识的显示方式之后,还包括:
    将除所述目标移交步骤对应的功能标识外的其他功能标识置为禁止操作状态。
  19. 根据权利要求16至18任意一项所述的计算机可读存储介质,其特征在于,还包括:
    若所述任务号不符合移交条件时,获取不符合移交条件的原因,并输出提示信息。
  20. 如权利要求16所述的计算机可读存储介质,其特征在于,在所述根据所述任务号获取待移交内容的格式,执行与所述待移交内容的格式对应的辅助操作之前,还包括:
    判断当前是否有用户正在执行移交操作;
    若是时,则获取当前正在执行移交操作的用户,并输出警示信息。
PCT/CN2018/081820 2017-04-06 2018-04-04 一种代码移交的辅助方法、电子设备及介质 Ceased WO2018184547A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710221078.XA CN108268273A (zh) 2017-04-06 2017-04-06 代码移交的辅助方法及终端
CN201710221078.X 2017-04-06

Publications (1)

Publication Number Publication Date
WO2018184547A1 true WO2018184547A1 (zh) 2018-10-11

Family

ID=62770872

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/081820 Ceased WO2018184547A1 (zh) 2017-04-06 2018-04-04 一种代码移交的辅助方法、电子设备及介质

Country Status (2)

Country Link
CN (1) CN108268273A (zh)
WO (1) WO2018184547A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669829A (zh) * 2008-09-11 2010-03-17 深圳迈瑞生物医疗电子股份有限公司 获取帮助信息的方法及系统
CN102521371A (zh) * 2011-12-16 2012-06-27 北京新媒传信科技有限公司 一种文件通过web上传并自动重启服务的方法及系统
CN105183644A (zh) * 2015-08-20 2015-12-23 上海斐讯数据通信技术有限公司 一种多任务集成自动化测试系统及方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6842898B1 (en) * 1999-06-10 2005-01-11 International Business Machines Corporation Method and apparatus for monitoring and handling events for a collection of related threads in a data processing system
RU2337408C1 (ru) * 2007-08-14 2008-10-27 Рифкат Тагирович Гареев Способ дистанционного обучения
CN101901372A (zh) * 2009-05-26 2010-12-01 上海宝钢宝山钢材贸易有限公司 一种事项处理状态的显示平台及其显示方法
CN105957409A (zh) * 2016-04-25 2016-09-21 北京葡萄藤信息技术有限公司 一种基于任务分配的自动教学方法及平台

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101669829A (zh) * 2008-09-11 2010-03-17 深圳迈瑞生物医疗电子股份有限公司 获取帮助信息的方法及系统
CN102521371A (zh) * 2011-12-16 2012-06-27 北京新媒传信科技有限公司 一种文件通过web上传并自动重启服务的方法及系统
CN105183644A (zh) * 2015-08-20 2015-12-23 上海斐讯数据通信技术有限公司 一种多任务集成自动化测试系统及方法

Also Published As

Publication number Publication date
CN108268273A (zh) 2018-07-10

Similar Documents

Publication Publication Date Title
US10048925B2 (en) Method for sharing screen and electronic device thereof
TWI502507B (zh) 電池韌體更新方法、可攜式電子裝置及充電電池模組
KR102309175B1 (ko) 스크랩 정보를 제공하는 전자 장치 및 그 제공 방법
US20190361593A1 (en) Screen Capturing Method and Apparatus
WO2022012656A1 (zh) 分屏显示方法、装置及电子设备
US10509530B2 (en) Method and apparatus for processing touch input
WO2016068620A1 (en) Electronic device and method of controlling power of electronic device
WO2015115852A1 (en) Task scheduling method and apparatus
US10885229B2 (en) Electronic device for code integrity checking and control method thereof
CN108282558A (zh) 电子设备和用于控制电子设备的方法
US12112400B2 (en) Page drawing control method, apparatus, and device
WO2022194003A1 (zh) 截屏方法、装置、电子设备以及可读存储介质
WO2018052242A1 (en) Method for displaying soft key and electronic device thereof
CN106095248A (zh) 一种基于移动终端的应用程序查找启动方法及系统
EP2790392A1 (en) Method for connecting with external device and electronic device thereof
WO2022089594A1 (zh) 信息显示方法、装置和电子设备
WO2022222510A1 (zh) 交互控制方法、终端设备及存储介质
CN111076741B (zh) 导航状态获取方法、装置、存储介质及电子设备
KR101742444B1 (ko) 적응형 패턴 인식 기반 고속 디바이스 커플링 방법 및 시스템
WO2018184547A1 (zh) 一种代码移交的辅助方法、电子设备及介质
US20120098796A1 (en) Optical touch module and data loading method thereof
KR20260012269A (ko) 이미지 처리 템플릿 처리 방법, 장치, 기기, 저장 매체 및 제품
CN113990323B (zh) 语音唤醒方法和电子设备
CN105528198A (zh) 操作界面识别方法及装置
CN114827510A (zh) 图片矩阵背光的方法、装置、设备及计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18781043

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15.01.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18781043

Country of ref document: EP

Kind code of ref document: A1