CN111782202A - Application data editing method and device - Google Patents

Application data editing method and device Download PDF

Info

Publication number
CN111782202A
CN111782202A CN202010617607.XA CN202010617607A CN111782202A CN 111782202 A CN111782202 A CN 111782202A CN 202010617607 A CN202010617607 A CN 202010617607A CN 111782202 A CN111782202 A CN 111782202A
Authority
CN
China
Prior art keywords
application data
application
data
editing
instruction
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.)
Pending
Application number
CN202010617607.XA
Other languages
Chinese (zh)
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN202010617607.XA priority Critical patent/CN111782202A/en
Publication of CN111782202A publication Critical patent/CN111782202A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to an editing method and device of application data, wherein the method comprises the following steps: under the condition that an editing instruction executed by a target account on a target application is detected, responding to the editing instruction to acquire first application data and second application data with a corresponding relation from the target application, wherein the first application data is original data on the target application, and the second application data is data obtained after the target account executes editing operation on the first application data; displaying the first application data and the second application data on a display interface; and under the condition that an operation instruction triggered by the target account on the display interface is detected, responding to the operation instruction to execute the target operation corresponding to the operation instruction on the second application data. The method and the device solve the technical problem that serious errors such as application collapse or application-side data template-free display are easily caused in a direct online mode of the modified application data.

Description

Application data editing method and device
Technical Field
The present application relates to the field of computers, and in particular, to a method and an apparatus for editing application data.
Background
An operator of an APP (Application) needs to modify operation data of the APP at times, the operator needs to directly modify online APP data in the prior art, and the modified online APP data is directly online. In the process of implementing the invention, the inventor finds that if the online APP data has errors or deviations, serious errors such as APP crash or APP end no-data template display can occur. The operator cannot know in advance whether the data on line can obtain the expected result. The problem of serious errors such as APP crash or APP end non-data template display is easy to occur.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The application provides an editing method and device of application data, which at least solve the technical problem that serious errors such as application crash or application-side data template-free display are easy to occur in a mode that modified application data are directly on-line in the related technology.
According to an aspect of an embodiment of the present application, there is provided an editing method of application data, including:
under the condition that an editing instruction executed by a target account on a target application is detected, responding to the editing instruction to acquire first application data and second application data with a corresponding relation from the target application, wherein the first application data is original data on the target application, and the second application data is obtained after the target account executes editing operation on the first application data;
displaying the first application data and the second application data on a display interface;
and under the condition that an operation instruction triggered by the target account on the display interface is detected, responding to the operation instruction to execute a target operation corresponding to the operation instruction on the second application data.
Optionally, the obtaining, in response to the edit instruction, the first application data and the second application data having the corresponding relationship from the target application includes:
recording an editing operation performed on the first application data in response to the editing instruction;
and acquiring the first application data and the second application data according to the recorded editing operation.
Optionally, the recording, in response to the editing instruction, an editing operation performed on the first application data includes: responding to a starting instruction to start a screen recording function, wherein the screen recording function is used for recording a process that the target account carries out editing operation on the first application data; under the condition that an ending instruction is detected, responding to the ending instruction to terminate the screen recording function to obtain a screen recording video, wherein the editing instruction comprises the starting instruction and the ending instruction;
the acquiring the first application data and the second application data according to the recorded editing operation comprises: and acquiring the first application data and the second application data from the screen recording video.
Optionally, the acquiring the first application data and the second application data from the screen recording video includes:
acquiring first code data and second code data from the screen recording video;
converting the first code data into a first application preview image and converting the second code data into a second application preview image, wherein the first application data comprises the first code data and the first application preview image, and the second application data comprises the second code data and the second application preview image.
Optionally, displaying the first application data and the second application data on a display interface includes:
generating the display interface;
displaying the first application data and the second application data on the display interface;
and highlighting an interface area where the difference data between the first application data and the second application data is located on the display interface.
Optionally, the recording, in response to the editing instruction, an editing operation performed on the first application data includes: generating an operation log in response to the editing instruction, wherein the operation log is used for recording the editing operation performed on the first application data;
the acquiring the first application data and the second application data according to the recorded editing operation comprises: and acquiring the first application data and the second application data from the operation log.
Optionally, the executing, by responding to the operation instruction, the target operation corresponding to the operation instruction on the second application data includes:
modifying the second application data on the target application into the first application data under the condition that the operation instruction is used for indicating to restore the first application data;
and determining that the second application data is successfully online if the operation instruction is used for indicating that the second application data is determined.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for editing application data, including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for responding to an editing instruction to acquire first application data and second application data with a corresponding relation from a target application under the condition that the editing instruction executed by the target account on the target application is detected, the first application data is original data on the target application, and the second application data is obtained after the target account executes editing operation on the first application data;
the display module is used for displaying the first application data and the second application data on a display interface;
and the execution module is used for responding to the operation instruction to execute the target operation corresponding to the operation instruction on the second application data under the condition that the operation instruction triggered by the target account on the display interface is detected.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above method through the computer program.
In the embodiment of the application, under the condition that an editing instruction executed by a target account on a target application is detected, responding to the editing instruction to acquire first application data and second application data with a corresponding relation from the target application, wherein the first application data is original data on the target application, and the second application data is data obtained after the target account executes editing operation on the first application data; displaying the first application data and the second application data on a display interface; under the condition that an operation instruction triggered by a target account on a display interface is detected, responding to the operation instruction to execute a target operation corresponding to the operation instruction on second application data, if the target account is detected to execute an editing instruction on the target application, responding to the editing instruction to acquire original data on the target application with a corresponding relation and data obtained after the original data is edited from the target application, displaying the acquired data on the display interface, and executing corresponding target operation on the edited second application data according to the detected operation instruction triggered on the display interface, so that an operator can not directly online the edited data after the original data is edited on the target application, but firstly contrasts and displays the operator, and then correspondingly processes the edited data according to the operation executed by the operator, therefore, the technical effect of reducing the occurrence of serious errors such as application crash or application-side no-data-template display when the application data is modified is achieved, and the technical problem that the application crash or the application-side no-data-template display and other serious errors are easily caused in a mode that the modified application data is directly on line is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware environment of an editing method of application data according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method for editing application data according to an embodiment of the present application;
fig. 3 is a schematic diagram of an alternative apparatus for editing application data according to an embodiment of the present application;
fig. 4 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of embodiments of the present application, an embodiment of a method for editing application data is provided.
Alternatively, in the present embodiment, the above-described method for editing application data may be applied to a hardware environment formed by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, a server 103 is connected to a terminal 101 through a network, which may be used to provide services (such as game services, application services, etc.) for the terminal or a client installed on the terminal, and a database may be provided on the server or separately from the server for providing data storage services for the server 103, and the network includes but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, and the like. The method for editing application data according to the embodiment of the present application may be executed by the server 103, the terminal 101, or both the server 103 and the terminal 101. The terminal 101 may execute the method for editing application data according to the embodiment of the present application by a client installed thereon.
Fig. 2 is a flowchart of an alternative method for editing application data according to an embodiment of the present application, and as shown in fig. 2, the method may include the following steps:
step S202, under the condition that an editing instruction executed by a target account on a target application is detected, responding to the editing instruction to acquire first application data and second application data with a corresponding relation from the target application, wherein the first application data is original data on the target application, and the second application data is data obtained after the target account executes editing operation on the first application data;
step S204, displaying the first application data and the second application data on a display interface;
step S206, in a case that an operation instruction triggered by the target account on the display interface is detected, responding to the operation instruction to execute a target operation corresponding to the operation instruction on the second application data.
Through the steps S202 to S206, if it is detected that the target account executes the edit instruction on the target application, the original data on the target application having the corresponding relationship and the data obtained after the edit operation is executed on the original data are obtained from the target application in response to the edit instruction, the obtained data are displayed on the display interface, and the corresponding target operation is executed on the second application data obtained after the edit according to the detected operation instruction triggered on the display interface, so that the edited data after the edit operation is executed on the original data on the target application by the operator is not directly on-line, but is firstly displayed for the operator by comparison, and then the edited data is correspondingly processed according to the operation executed by the operator, thereby achieving the technical effect of reducing the occurrence of serious errors such as application crash or no-data template display at the application end when the application data is modified, and further, the technical problem that serious errors such as application crash or application-side data template-free display are easily caused in a direct online mode of the modified application data is solved.
Optionally, in this embodiment, the above editing method of application data may be, but is not limited to, applied to an operation platform of a target application. On the operation platform, operations such as editing and saving of application data can be but are not limited to component integration, so that a verification tool or a plug-in for realizing the editing function of the application data is obtained.
In the technical solution provided in step S202, the target account may be, but is not limited to, an operation account registered by an operator on the operation platform.
Optionally, in the present embodiment, the target application may include, but is not limited to, any type of application program, such as: multimedia applications, music applications, short video applications, live applications, gaming applications, shopping applications, financial applications, and the like.
Optionally, in this embodiment, the editing instruction may be, but is not limited to, used for triggering an editing process of the first application data and acquisition of the first application data and the second application data. The editing instructions may include, but are not limited to, a start instruction of the editing process and an end instruction of the editing process, such as: a start button and an end button may be displayed on the editing interface, and the start and end of the editing process may be controlled by triggering the start button and the end button. The start button and the end button may be provided as the same button or as different buttons.
Alternatively, in the present embodiment, the editing operation may include, but is not limited to, any type of operation performed on the application data for editing the application data, such as: add operations, modify operations, delete operations, input operations, and the like.
Optionally, in this embodiment, the first application data is original data on the target application, and the second application data is data obtained after the target account performs an editing operation on the first application data, that is, if an editing instruction performed on the target application by the target account is detected, the original data on the target application and the data obtained after the editing operation is performed on the original data are obtained from the target application.
Optionally, in this embodiment, the data editing interface of the operation platform may be, but not limited to, display data (text, picture, video, audio, button style, etc.) that can be edited in the application in the form of a data list (for example, corresponding data name and data value) for the operator, or directly display an editable front-end display interface. The operator can change the back-end code of the application by performing editing operation on the editable data or the front-end display interface, and further change the front-end display interface of the online application.
In the technical solution provided in step S204, the form of displaying the first application data and the second application data may be, but is not limited to, comparing and displaying the data before editing and the data after editing. The display form of the first application data may include, but is not limited to: displaying code data of an application background before editing, displaying a display interface of an application front end before editing, and the like, wherein the display form of the second application data may include, but is not limited to: displaying the code data of the edited application background, displaying a display interface of the edited application front end, and the like.
In the technical solution provided in step S206, the operator may check the first application data and the second application data on the display interface, execute further operation on the display interface by using the target account according to the checking condition, and the verification tool executes corresponding operation on the second application data according to the detected operation instruction executed by the target account.
Optionally, in this embodiment, the target operation may include, but is not limited to, an online operation, a revocation operation, and the like.
As an alternative embodiment, the obtaining the first application data and the second application data having the corresponding relationship from the target application in response to the edit instruction includes:
s11, responding to the editing instruction to record the editing operation executed on the first application data;
s12, acquiring the first application data and the second application data according to the recorded editing operation.
Optionally, in this embodiment, the first application data and the second application data may be obtained from editing operations performed on the first application data by recording the target account, but not limited to.
Optionally, in this embodiment, the manner of recording the editing operation may include, but is not limited to: record video, generate operation logs, and the like.
As an alternative embodiment, recording the editing operation performed on the first application data in response to the editing instruction includes:
s21, responding to a starting instruction to start a screen recording function, wherein the screen recording function is used for recording the process that the target account carries out the editing operation on the first application data; under the condition that an ending instruction is detected, responding to the ending instruction to terminate the screen recording function to obtain a screen recording video, wherein the editing instruction comprises the starting instruction and the ending instruction;
the acquiring the first application data and the second application data according to the recorded editing operation comprises:
s22, acquiring the first application data and the second application data from the screen recording video.
Optionally, in this embodiment, the editing operation performed by the target account may be converted into a modification of the application data by, but not limited to, automatically recording a screen.
Alternatively, in the present embodiment, the edit button and the save button may be displayed on the data editing interface of the verification tool, and the operator may instruct, but is not limited to, start editing data and end editing data by operating the edit button and the save button. The operator clicks the edit button which is equivalent to triggering the start instruction, and clicks the save button which is equivalent to triggering the end instruction.
Optionally, in this embodiment, the screen recording video may be directly converted into the edited application data by the gateway, and the manner of acquiring the first application data and the second application data from the screen recording video may be, but is not limited to, directly acquiring the corresponding application data before and after modification in the screen recording video from the gateway.
As an alternative embodiment, the acquiring the first application data and the second application data from the screen recording video includes:
s31, acquiring first code data and second code data from the screen recording video;
s32, converting the first code data into a first application preview image, and converting the second code data into a second application preview image, wherein the first application data comprises the first code data and the first application preview image, and the second application data comprises the second code data and the second application preview image.
Optionally, in the present embodiment, the application data may include, but is not limited to, two types of data, that is, code data and an application preview image.
Optionally, in this embodiment, the first code data may be, but is not limited to, json data before modification in the target application, and the second code data may be, but is not limited to, json data after modification in the target application.
Optionally, in this embodiment, the first application preview image may be, but is not limited to, a display effect image of the json data before modification on the target application. The second application preview graph may be, but is not limited to, a presentation effect graph of the modified json data on the target application.
As an alternative embodiment, displaying the first application data and the second application data on a display interface includes:
s41, generating the display interface;
s42, displaying the first application data and the second application data on the display interface;
s43, highlighting an interface area where the difference data between the first application data and the second application data is located on the display interface.
Optionally, in this embodiment, the display interface may be, but is not limited to, displayed in a manner of popup, refreshing a page, and the like.
Optionally, in this embodiment, the manner of highlighting the interface region where the difference data is located may include, but is not limited to, marking the interface region where the difference data is located with a color, or framing the interface region where the difference data is located with a solid frame, a dashed frame, or the like.
As an alternative embodiment, recording the editing operation performed on the first application data in response to the editing instruction includes:
s51, generating an operation log in response to the editing instruction, wherein the operation log is used for recording the editing operation performed on the first application data;
the acquiring the first application data and the second application data according to the recorded editing operation comprises:
s52, obtaining the first application data and the second application data from the operation log.
Optionally, in this embodiment, the editing operation performed on the first application data may be recorded, but is not limited to, by generating an operation log, and the first application data and the second application data are obtained from the editing operation.
Alternatively, in this embodiment, the content recorded in the operation log may be converted into code data before editing and code data after editing by means of code conversion, an application preview image before editing is generated by using the code data before editing by means of generating a front end interface, and an application preview image after editing is generated by using the code data after editing.
As an optional embodiment, the executing, in response to the operation instruction, a target operation corresponding to the operation instruction on the second application data includes:
s61, modifying the second application data on the target application into the first application data under the condition that the operation instruction is used for indicating to restore the first application data;
s62, determining that the second application data is successfully online in the case that the operation instruction is used for indicating that the second application data is determined.
Optionally, in this embodiment, the operator may, but is not limited to, perform a corresponding operation on the modified application data according to a comparison between the pre-modified application data and the modified application data displayed on the display interface.
Optionally, in this embodiment, a recovery button and a determination button may be displayed on the display interface, and if it is detected that the recovery button is clicked by the target account, it is determined that the operation instruction is used to instruct to recover the first application data, and then the second application data on the target application is modified back to the first application data. And if the target account is detected to click the confirm button, confirming that the operation instruction is used for indicating that the second application data is confirmed, and enabling the second application data to be successfully online.
The application also provides an optional embodiment, and the optional embodiment provides a visual operation tool or assembly with functions of APP data editing result analysis, one-key recovery and the like. The operator can judge whether the modified data takes effect and whether the modified effect reaches the expectation without clicking an online button to enable the modified data to be directly online.
The process of automatically verifying APP data using the above-described operational tools or components may include, but is not limited to, the steps of:
and step 1, performing component integration on editing and saving operations of an operation platform to obtain the operation tool or the component.
And 2, starting the operation tool or the assembly, automatically starting a screen recording screen when the operator clicks the editing button to edit the APP data, and automatically finishing video recording after the operator clicks the storage button.
And step 3, directly acquiring corresponding json data before modification and after modification in the recorded video through the gateway, and obtaining initial APP data and modified APP data.
And 4, generating a comparison page to display json data before modification and after modification, and highlighting the modification points. And simultaneously generating an APP preview effect graph before modification according to the json data before modification and generating a modified APP preview effect graph according to the json data after modification for comparison.
And 5, analyzing results:
and 5.1, if the modified data is not effective, or an APP preview is not generated, or according to the judgment of the returned error type and the like, judging whether one-key recovery operation is needed to recover the data before modification. If the operator is detected to click the one-key recovery button, the modified APP data is modified into the initial APP data according to the initial APP data stored before, and therefore the one-key recovery function is achieved.
And 5.2, if the modified data is effective, the generated APP preview graph reaches the expectation, and the modified APP data can be directly applied for online.
By operating the operation tool or the operation component, the functions of judging whether the modified data takes effect, whether the modified effect reaches the expectation, one-key recovery of the data and the like are provided for the operation platform. Therefore, the occurrence of serious errors such as application crash or no data template display at the application end when the application data is modified is reduced.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application 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) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiment of the present application, there is also provided an application data editing apparatus for implementing the above application data editing method. Fig. 3 is a schematic diagram of an alternative apparatus for editing application data according to an embodiment of the present application, and as shown in fig. 3, the apparatus may include:
an obtaining module 32, configured to, in a case that an editing instruction executed by a target account on a target application is detected, obtain, in response to the editing instruction, first application data and second application data that have a corresponding relationship from the target application, where the first application data is original data on the target application, and the second application data is data obtained after the target account performs an editing operation on the first application data;
a display module 34, configured to display the first application data and the second application data on a display interface;
the executing module 36 is configured to, in a case that an operation instruction triggered by the target account on the display interface is detected, respond to the operation instruction to execute a target operation corresponding to the operation instruction on the second application data.
It should be noted that the initiating module 32 in this embodiment may be configured to execute step S202 in this embodiment, the opening module 34 in this embodiment may be configured to execute step S204 in this embodiment, and the sending module 36 in this embodiment may be configured to execute step S206 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Through the module, if the editing instruction of the target application is detected to be executed by the target account, the editing instruction is responded to acquire the original data on the target application with the corresponding relation and the data obtained after the editing operation is executed on the original data from the target application, the acquired data is displayed on the display interface, and the corresponding target operation is executed on the second application data obtained after the editing operation is executed according to the detected operation instruction triggered on the display interface, so that the edited data after the editing operation is executed on the original data on the target application by an operator can not be directly on-line, the operator firstly performs comparison display on the original data, and then performs corresponding processing on the edited data according to the operation executed by the operator, thereby realizing the technical effect of reducing the occurrence of serious errors such as application collapse or no-data template display at the application end when the application data is modified, and further, the technical problem that serious errors such as application crash or application-side data template-free display are easily caused in a direct online mode of the modified application data is solved.
As an alternative embodiment, the obtaining module includes:
a recording unit configured to record the editing operation performed on the first application data in response to the editing instruction;
an obtaining unit, configured to obtain the first application data and the second application data according to the recorded editing operation.
As an alternative embodiment, the recording unit is configured to: responding to a starting instruction to start a screen recording function, wherein the screen recording function is used for recording a process that the target account carries out editing operation on the first application data; under the condition that an ending instruction is detected, responding to the ending instruction to terminate the screen recording function to obtain a screen recording video, wherein the editing instruction comprises the starting instruction and the ending instruction;
the acquisition unit is used for: and acquiring the first application data and the second application data from the screen recording video.
As an alternative embodiment, the obtaining unit is configured to:
acquiring first code data and second code data from the screen recording video;
converting the first code data into a first application preview image and converting the second code data into a second application preview image, wherein the first application data comprises the first code data and the first application preview image, and the second application data comprises the second code data and the second application preview image.
As an alternative embodiment, the display module includes:
the generating unit is used for generating the display interface;
the first display unit is used for displaying the first application data and the second application data on the display interface;
and the second display unit is used for highlighting an interface area where the difference data between the first application data and the second application data is located on the display interface.
As an alternative embodiment, the recording unit is configured to: generating an operation log in response to the editing instruction, wherein the operation log is used for recording the editing operation performed on the first application data;
the acquisition unit is configured to: and acquiring the first application data and the second application data from the operation log.
As an alternative embodiment, the execution module includes:
a modification unit, configured to modify the second application data on the target application into the first application data when the operation instruction is used to instruct to restore the first application data;
a determining unit, configured to determine that the second application data is successfully online if the operation instruction is used to indicate that the second application data is determined.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiment of the present application, there is also provided a server or a terminal for implementing the above editing method for application data.
Fig. 4 is a block diagram of a terminal according to an embodiment of the present application, and as shown in fig. 4, the terminal may include: one or more processors 401 (only one of which is shown), a memory 203, and a transmission device 405. as shown in fig. 4, the terminal may further include an input-output device 207.
The memory 403 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for editing application data in the embodiment of the present application, and the processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 403, that is, implements the above-described method for editing application data. The memory 403 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 403 may further include memory located remotely from processor 401, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmitting device 405 is used for receiving or sending data via a network, and may also be used for data transmission between the processor and the memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 405 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 405 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In particular, the memory 403 is used for storing application programs.
The processor 401 may call the application stored in the memory 403 via the transmission means 405 to perform the following steps:
under the condition that an editing instruction executed by a target account on a target application is detected, responding to the editing instruction to acquire first application data and second application data with a corresponding relation from the target application, wherein the first application data is original data on the target application, and the second application data is obtained after the target account executes editing operation on the first application data;
displaying the first application data and the second application data on a display interface;
and under the condition that an operation instruction triggered by the target account on the display interface is detected, responding to the operation instruction to execute a target operation corresponding to the operation instruction on the second application data.
By adopting the embodiment of the application, a scheme for editing application data is provided. If the editing instruction of the target application is detected to be executed by the target account, the editing instruction is responded to acquire the original data on the target application with the corresponding relation and the data obtained after the editing operation is executed on the original data from the target application, the acquired data is displayed on a display interface, and the corresponding target operation is executed on the second application data obtained after the editing operation is executed according to the detected operation instruction triggered on the display interface, so that the data edited after the editing operation is executed on the original data on the target application by an operator can not be directly on-line, the operator firstly performs comparison display on the original data, and then performs corresponding processing on the edited data according to the operation executed by the operator, thereby realizing the technical effect of reducing the occurrence of serious errors such as application collapse or no data template display at an application end when the application data is modified, and further, the technical problem that serious errors such as application crash or application-side data template-free display are easily caused in a direct online mode of the modified application data is solved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It can be understood by those skilled in the art that the structure shown in fig. 4 is only an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 4 is a diagram illustrating the structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 4, or have a different configuration than shown in FIG. 4.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing an editing method of application data.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
under the condition that an editing instruction executed by a target account on a target application is detected, responding to the editing instruction to acquire first application data and second application data with a corresponding relation from the target application, wherein the first application data is original data on the target application, and the second application data is obtained after the target account executes editing operation on the first application data;
displaying the first application data and the second application data on a display interface;
and under the condition that an operation instruction triggered by the target account on the display interface is detected, responding to the operation instruction to execute a target operation corresponding to the operation instruction on the second application data.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. An editing method for application data, comprising:
under the condition that an editing instruction executed by a target account on a target application is detected, responding to the editing instruction to acquire first application data and second application data with a corresponding relation from the target application, wherein the first application data is original data on the target application, and the second application data is obtained after the target account executes editing operation on the first application data;
displaying the first application data and the second application data on a display interface;
and under the condition that an operation instruction triggered by the target account on the display interface is detected, responding to the operation instruction to execute a target operation corresponding to the operation instruction on the second application data.
2. The method of claim 1, wherein obtaining first application data and second application data having a correspondence relationship from the target application in response to the edit instruction comprises:
recording the editing operation performed on the first application data in response to the editing instruction;
and acquiring the first application data and the second application data according to the recorded editing operation.
3. The method of claim 2,
recording editing operations performed on the first application data in response to the editing instructions comprises: responding to a starting instruction to start a screen recording function, wherein the screen recording function is used for recording a process that the target account carries out editing operation on the first application data; under the condition that an ending instruction is detected, responding to the ending instruction to terminate the screen recording function to obtain a screen recording video, wherein the editing instruction comprises the starting instruction and the ending instruction;
the acquiring the first application data and the second application data according to the recorded editing operation comprises: and acquiring the first application data and the second application data from the screen recording video.
4. The method of claim 3, wherein obtaining the first application data and the second application data from the screen-recording video comprises:
acquiring first code data and second code data from the screen recording video;
converting the first code data into a first application preview image and converting the second code data into a second application preview image, wherein the first application data comprises the first code data and the first application preview image, and the second application data comprises the second code data and the second application preview image.
5. The method of claim 4, wherein displaying the first application data and the second application data on a display interface comprises:
generating the display interface;
displaying the first application data and the second application data on the display interface;
and highlighting an interface area where the difference data between the first application data and the second application data is located on the display interface.
6. The method of claim 2,
recording editing operations performed on the first application data in response to the editing instructions comprises: generating an operation log in response to the editing instruction, wherein the operation log is used for recording the editing operation performed on the first application data;
the acquiring the first application data and the second application data according to the recorded editing operation comprises: and acquiring the first application data and the second application data from the operation log.
7. The method of claim 1, wherein executing the target operation corresponding to the operation instruction on the second application data in response to the operation instruction comprises:
modifying the second application data on the target application into the first application data under the condition that the operation instruction is used for indicating to restore the first application data;
and determining that the second application data is successfully online if the operation instruction is used for indicating that the second application data is determined.
8. An apparatus for editing application data, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for responding to an editing instruction to acquire first application data and second application data with a corresponding relation from a target application under the condition that the editing instruction executed by the target account on the target application is detected, the first application data is original data on the target application, and the second application data is obtained after the target account executes editing operation on the first application data;
the display module is used for displaying the first application data and the second application data on a display interface;
and the execution module is used for responding to the operation instruction to execute the target operation corresponding to the operation instruction on the second application data under the condition that the operation instruction triggered by the target account on the display interface is detected.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 7 by means of the computer program.
CN202010617607.XA 2020-06-30 2020-06-30 Application data editing method and device Pending CN111782202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010617607.XA CN111782202A (en) 2020-06-30 2020-06-30 Application data editing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010617607.XA CN111782202A (en) 2020-06-30 2020-06-30 Application data editing method and device

Publications (1)

Publication Number Publication Date
CN111782202A true CN111782202A (en) 2020-10-16

Family

ID=72761448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010617607.XA Pending CN111782202A (en) 2020-06-30 2020-06-30 Application data editing method and device

Country Status (1)

Country Link
CN (1) CN111782202A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140002352A1 (en) * 2012-05-09 2014-01-02 Michal Jacob Eye tracking based selective accentuation of portions of a display
CN106528130A (en) * 2016-10-26 2017-03-22 腾讯科技(深圳)有限公司 Editing button adaptation method and apparatus
CN107844297A (en) * 2017-10-17 2018-03-27 广东广业开元科技有限公司 A kind of data visualization realizes system and method
CN108027720A (en) * 2015-09-18 2018-05-11 亚马逊技术有限公司 Visual content is developed
CN108762748A (en) * 2018-05-22 2018-11-06 郑州云海信息技术有限公司 A kind of method for exhibiting data and system based on data center
CN109669688A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Based on visual software development methodology, device, terminal device and storage medium
CN109933742A (en) * 2019-03-14 2019-06-25 重庆龙湖地产发展有限公司 Content of pages rearranges a volume method and device in a kind of process
CN110096268A (en) * 2019-04-26 2019-08-06 北京知感科技有限公司 By the system and method for the executable program of the VR/AR/MR device secondary editor of stateization living
CN110188074A (en) * 2019-05-13 2019-08-30 珠海格力电器股份有限公司 A kind of Document Editing label display methods and equipment
CN110286899A (en) * 2019-06-28 2019-09-27 北京字节跳动网络技术有限公司 Edit methods and device, the storage medium of application program display interface
CN110442336A (en) * 2019-08-05 2019-11-12 上海钧正网络科技有限公司 A kind of web development methods and device, storage medium and electronic equipment
CN111240661A (en) * 2020-01-06 2020-06-05 腾讯科技(深圳)有限公司 Programming page display method and device, storage medium and computer equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140002352A1 (en) * 2012-05-09 2014-01-02 Michal Jacob Eye tracking based selective accentuation of portions of a display
CN108027720A (en) * 2015-09-18 2018-05-11 亚马逊技术有限公司 Visual content is developed
CN106528130A (en) * 2016-10-26 2017-03-22 腾讯科技(深圳)有限公司 Editing button adaptation method and apparatus
CN107844297A (en) * 2017-10-17 2018-03-27 广东广业开元科技有限公司 A kind of data visualization realizes system and method
CN108762748A (en) * 2018-05-22 2018-11-06 郑州云海信息技术有限公司 A kind of method for exhibiting data and system based on data center
CN109669688A (en) * 2018-09-26 2019-04-23 深圳壹账通智能科技有限公司 Based on visual software development methodology, device, terminal device and storage medium
CN109933742A (en) * 2019-03-14 2019-06-25 重庆龙湖地产发展有限公司 Content of pages rearranges a volume method and device in a kind of process
CN110096268A (en) * 2019-04-26 2019-08-06 北京知感科技有限公司 By the system and method for the executable program of the VR/AR/MR device secondary editor of stateization living
CN110188074A (en) * 2019-05-13 2019-08-30 珠海格力电器股份有限公司 A kind of Document Editing label display methods and equipment
CN110286899A (en) * 2019-06-28 2019-09-27 北京字节跳动网络技术有限公司 Edit methods and device, the storage medium of application program display interface
CN110442336A (en) * 2019-08-05 2019-11-12 上海钧正网络科技有限公司 A kind of web development methods and device, storage medium and electronic equipment
CN111240661A (en) * 2020-01-06 2020-06-05 腾讯科技(深圳)有限公司 Programming page display method and device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
JP3936835B2 (en) Terminal device for computer network and operation history recording method
US20200357007A1 (en) Page data acquisition method, apparatus, server, electronic device and computer readable medium
CN105472417B (en) Method and device for acquiring video player abnormity
CN111552633A (en) Interface abnormal call testing method and device, computer equipment and storage medium
CN106713011B (en) Method and system for obtaining test data
CN110647321A (en) Method, device and equipment for playing back operation flow and storage medium
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
CN114692049A (en) Browser-based screen recording method and device, electronic equipment and storage medium
CN112148607A (en) Interface testing method and device for service scene
US20160162984A1 (en) Processing unstructured messages
CN114766093A (en) Screen recording method and device and computer readable storage medium
JP2006277771A (en) Terminal device and operation history recording method for computer network
CN111857932A (en) Web substitution and filling method for operation and maintenance auditing system based on puppeteer
CN111782202A (en) Application data editing method and device
CN111435326A (en) Method and device for analyzing crash logs
CN112486484A (en) Webpage version generation method and device
CN114490320A (en) Automatic testing method and device, electronic equipment and storage medium
CN114371866A (en) Version reconfiguration test method, device and equipment of service system
CN111931465A (en) Method and system for automatically generating user manual based on user operation
CN112328498A (en) Service testing method and device, storage medium and electronic device
CN111782291A (en) Test page starting method and device
CN113760688A (en) Remote debugging method, system, webpage server, equipment and storage medium
CN112215587B (en) Method, device and system for automatically executing business process interaction tasks by multiple devices
US9942361B2 (en) Reporting page composition data
CN117215902B (en) Log analysis method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: Jingdong Digital Technology Holding Co.,Ltd.

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Digital Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant before: JINGDONG DIGITAL TECHNOLOGY HOLDINGS Co.,Ltd.