[go: up one dir, main page]

CN110704105B - Data migration method, terminal and storage medium - Google Patents

Data migration method, terminal and storage medium Download PDF

Info

Publication number
CN110704105B
CN110704105B CN201910939516.5A CN201910939516A CN110704105B CN 110704105 B CN110704105 B CN 110704105B CN 201910939516 A CN201910939516 A CN 201910939516A CN 110704105 B CN110704105 B CN 110704105B
Authority
CN
China
Prior art keywords
card
terminal
page
data
data content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910939516.5A
Other languages
Chinese (zh)
Other versions
CN110704105A (en
Inventor
丁陈
蔡瑾钊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201910939516.5A priority Critical patent/CN110704105B/en
Publication of CN110704105A publication Critical patent/CN110704105A/en
Application granted granted Critical
Publication of CN110704105B publication Critical patent/CN110704105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application discloses a data migration method, a terminal and a storage medium, which are used in the field of software. The method of the embodiment of the application comprises the following steps: the method comprises the steps that a first terminal receives a data transplanting request sent by a second terminal, wherein the data transplanting request comprises information of a first card to be transplanted; the first terminal acquires a first card according to the information of the first card to be transplanted, wherein the first card comprises data content on a first page; the first terminal generates an insert according to the first card, wherein the insert comprises the data content of the first card and a program for constructing the first card; the first terminal sends the plug-in to the second terminal so that the second terminal can transfer the data content on the first page to a second page through the plug-in.

Description

Data migration method, terminal and storage medium
Technical Field
The embodiment of the application relates to the field of software, in particular to a data migration method, a terminal and a storage medium.
Background
Related contents such as charts, various digital figures and the like are often used for business when documents are developed, and an transliterated script language (JS) is generally written on a development page of the business for development.
When we develop by writing JS, a lot of time is often required to be familiar with the attribute names that need to be modified and a lot of effort is required to write codes, but the data content on the first page after the first page is written cannot be copied to the second page, the terminal to which the first page belongs is called a first terminal, and the terminal to which the second page belongs is a second terminal. The data content on the first page is not portable, and to display the data content on the first page on the second page, the data content needs to be developed again.
When the user wants to display the same related content on the second page, the data content on the first page after the first page is written cannot be copied to the second page, the data content on the first page is not portable, the user needs to develop again on the second page, and the development efficiency is low.
Disclosure of Invention
The embodiment of the application provides a data migration method which can improve development efficiency.
The first aspect of the embodiment of the application provides a data migration method, which comprises the following steps:
the method comprises the steps that a first terminal receives a data transplanting request sent by a second terminal, wherein the data transplanting request comprises information of a first card to be transplanted;
the first terminal acquires a first card according to the information of the first card to be transplanted, wherein the first card comprises data content on a first page;
the first terminal generates an insert according to the first card, wherein the insert comprises the data content of the first card and a program for constructing the first card;
and the first terminal sends the plug-in to the second terminal so that the second terminal can transfer the data content on the first page to a second page through the plug-in.
Optionally, before the first terminal obtains the first card according to the information of the first card to be transplanted, the method further includes:
the first terminal acquires the data content on the first page;
the first terminal generates the first card according to the data content on the first page;
and the first terminal stores the first card into a card library.
Optionally, the first card includes a property editor, a data editor, and a dynamic display interface, where the dynamic display interface is used to display an editing effect of the first card.
Optionally, the generating, by the terminal, the first card according to the data content on the first page includes:
the first terminal generates a first card according to the data content on the first page;
the first terminal receives a first card expansion instruction, wherein the expansion instruction is used for indicating the first card to be edited, deleted or copied;
and the first terminal executes corresponding operation on the first card according to the first card expansion instruction so as to generate the second card.
Optionally, the first terminal generating a plug-in according to the first card includes:
the first terminal acquires the data content of the first card and the construction program of the first card;
and the first terminal generates the plug-in according to the data content of the first card and the construction program of the first card.
A second aspect of the embodiment of the present application provides a data migration method, which is characterized in that the method includes:
the second terminal sends a data transplanting request to the first terminal, wherein the data transplanting request comprises information of a first card to be transplanted;
the second terminal receives a plug-in unit sent by the first terminal, wherein the plug-in unit comprises data content of a first card and a program for constructing the first card, and the first card comprises the data content on a first page;
and the second terminal transfers the data content on the first page to a second page through the plug-in.
Optionally, the second terminal transplanting the data content on the first page to a second page through the plug-in includes:
the second terminal introduces the plug-in a second page;
the terminal constructs the first card according to the plug-in;
the second terminal displays the first card in the second page.
Optionally, the terminal calling the program for constructing the first card according to the plug-in unit to construct the first card includes:
the second terminal calls the data content of the first card and constructs a program of the first card according to the plug-in;
the second terminal constructs the first card according to the data content and the program.
Optionally, before the terminal calls the program for constructing the first card to construct the first card according to the plug-in, the method further includes:
the second terminal receives a data modification instruction;
and the second terminal modifies the first card according to the data modification instruction to generate a third card.
A third aspect of an embodiment of the present application provides a terminal, including:
the receiving unit is used for receiving a data transplanting request sent by the second terminal, wherein the data transplanting request comprises information of a first card to be transplanted;
the acquisition unit is used for acquiring a first card according to the information of the first card to be transplanted, wherein the first card comprises data content on a first page;
a generating unit for generating an insert according to the first card, the insert including data content of the first card and a program for constructing the first card;
and the sending unit is used for sending the plug-in to the second terminal so that the second terminal can transfer the data content on the first page to a second page through the plug-in.
A fourth aspect of the embodiment of the present application provides a terminal, including:
the data migration method comprises the steps of sending a data migration request to a first terminal, wherein the data migration request comprises information of a first card to be migrated;
the receiving unit is used for receiving the plug-in unit sent by the first terminal, wherein the plug-in unit comprises data content of a first card and a program for constructing the first card, and the first card comprises the data content on a first page;
and the transplanting unit is used for transplanting the data content on the first page to a second page through the plug-in.
A fifth aspect of an embodiment of the present application provides a terminal, including:
a processor, a memory, a bus, and an input/output device;
the processor is connected with the memory and the input and output equipment;
the bus is respectively connected with the processor, the memory and the input and output equipment;
the processor performs the method of the first aspect or any possible implementation of the first aspect.
A sixth aspect of an embodiment of the present application provides a terminal, including:
a processor, a memory, a bus, and an input/output device;
the processor is connected with the memory and the input and output equipment;
the bus is respectively connected with the processor, the memory and the input and output equipment;
the processor performs the method of the second aspect or any possible implementation of the second aspect.
A seventh aspect of the embodiments of the present application provides a computer storage medium having stored therein instructions which when executed on a computer cause the computer to perform the method of the first aspect or any of the possible implementation manners of the first aspect.
An eighth aspect of the embodiments of the present application provides a computer storage medium having stored therein instructions which when executed on a computer cause the computer to perform the method of the second aspect or any of the possible implementation manners of the second aspect.
From the above technical solutions, the embodiment of the present application has the following advantages:
the embodiment of the application provides a data migration method, which mainly comprises the steps that after a first terminal receives a data migration request sent by a second terminal, the first terminal acquires a card according to information of the card to be migrated, and the acquired card comprises data content on a first page. And the first terminal generates a plug-in according to the acquired card, wherein the plug-in has portability, and the plug-in comprises a program for constructing the card. The first terminal sends the generated plug-in to the second terminal, the second terminal transfers the data content on the first page to the second page through the plug-in, and a user does not need to develop again on the second page, so that development efficiency is improved.
Drawings
FIG. 1 is a schematic flow chart of a data migration method in an embodiment of the present application;
FIG. 2 is a schematic diagram of another flow chart of a data migration method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of another flow chart of the data migration method according to the embodiment of the present application;
FIG. 4 is a schematic diagram of a data migration method according to an embodiment of the present application;
FIG. 5 is a schematic diagram of another embodiment of a data migration method;
FIG. 6 is a schematic diagram of another embodiment of a data migration method;
FIG. 7 is a schematic diagram of another embodiment of a data migration method;
FIG. 8 is a schematic diagram of another flow chart of a data migration method according to an embodiment of the present application;
FIG. 9 is a schematic diagram of another embodiment of a data migration method;
fig. 10 is a schematic diagram of a terminal structure according to an embodiment of the present application;
fig. 11 is a schematic diagram of another terminal structure according to an embodiment of the present application;
fig. 12 is a schematic view of another terminal structure according to an embodiment of the present application;
fig. 13 is a schematic diagram of another terminal structure according to an embodiment of the present application.
Detailed Description
The embodiment of the application provides a data migration method which can improve development efficiency.
Referring to fig. 1, an embodiment of a method for data migration in an embodiment of the present application includes:
101. the first terminal receives a data migration request sent by the second terminal.
When a user edits data on one web page and needs to use the data on another web page, the web page edited by the user is called a second page, and the web page which needs to use the data is called a first page. The terminal to which the first page belongs sends a data migration request to the terminal to which the second page belongs, the terminal to which the first page belongs and the terminal to which the second page belongs can be the same terminal, the terminal to which the second page belongs receives the data migration request, the data migration request comprises information of a card to be migrated, and the first terminal can determine the identity of the second terminal according to the migration request. The card to be transplanted, the first card and the second card are some kind of block-level elements with width and height.
102. And the first terminal acquires the first card according to the information of the first card to be transplanted.
After receiving the data migration request, the terminal can determine the card required by the terminal to which the second page belongs according to the information of the card to be migrated.
103. And the first terminal generates a plug-in according to the first card.
The first terminal obtains a construction method related to the first card according to the information of the first card, and generates a plug-in according to the construction method, wherein the plug-in comprises a program for constructing the first card, and the first card comprises data content on a first page.
104. And the first terminal sends the plug-in to the second terminal.
The first terminal receives a data migration request sent by the second terminal, the data migration request comprises the identification of the second terminal, and the first terminal sends the generated plug-in to the second terminal according to the identification of the second terminal.
Referring to fig. 2, another embodiment of a method for data migration in an embodiment of the present application includes:
201. the second terminal sends a data migration request to the first terminal.
The second terminal sends a data migration request to the first terminal, wherein the data migration request comprises information of a first card to be migrated.
202. And the second terminal receives the plug-in sent by the first terminal.
The second terminal receives a plug-in sent by the first terminal, wherein the plug-in comprises data content on a first page and a program for constructing a first card, and the first card comprises the data content on the first page.
203. And the second terminal transfers the data content on the first page to a second page through the plug-in.
The second terminal receives the plug-in unit sent by the first terminal, the plug-in unit can construct a first card at the second terminal, the first card comprises data content on a first page of the first terminal, the plug-in unit generates the first card at the second terminal, and a second page on the second terminal refers to the first card, so that the data on the second page is transplanted to the first page.
Referring to fig. 3, a detailed description of a data migration method in an embodiment of the present application is provided below, where one embodiment of the method for data migration in an embodiment of the present application includes:
301. the first terminal receives a data migration request sent by the second terminal.
The first terminal receives a data migration request sent by the second terminal, where the data migration request includes information of a card to be migrated, the information of the migrated card may be a card identification number (ID, identity document), and an identifier of the card, and it may be understood that the information of the migrated card may also be other types of parameters related to the card, and is not limited herein.
It can be understood that the terminal to which the first page belongs and the terminal to which the second page belongs may be the same terminal or different terminals, the terminal to which the second page belongs receives the data migration request, the data migration request includes information of a card to be migrated, the data migration request may also include an identifier of the second terminal, and the first terminal may determine the identity of the second terminal according to the identifier of the second terminal.
302. And the first terminal acquires the data content on the first page.
The first terminal obtains the data content from the configuration file of the data content on the first page, where the content in the configuration file is fixedly stored in a certain format, for example, XML format, and it can be understood that other types of storage formats, such as JSON, besides extensible markup language (XML, extensible markup language), are also possible, and are not limited in this particular. The data content may be fixedly stored in a format, such as an interpreted script language object numbered notation (JSON, javaScript object notation), and it is understood that the data content may be stored in other types of storage formats, such as XML, other than JSON, and the data content is not limited thereto. The attribute hierarchy of the saved form of the configuration file is consistent with the attribute hierarchy of the saved form of the data content.
It will be appreciated that the data content may be graphic data content, may be graphical data content, or may be other types of data content, and is not limited in this regard.
303. The first terminal generates a first card according to the data content on the first page.
The data content on the first page is stored in a string of a certain format, such as JSON format, but may be in other formats, and is not limited herein. The information represented by the character string comprises the ID, the name and the attribute related to the first card, and the attributes can be in one-to-one correspondence with the attributes of the first card, so that the developed first card can be used as a template. After the data content on the first page is obtained, all the information related to the first card is extracted, and the information is combined into a character string with a fixed format, wherein the format can be JSON format or other formats, and the specific format is not limited herein. This string is then persisted in the background in the form of key-value pairs.
304. The first terminal receives a first card expansion instruction.
The first terminal receives a card expansion instruction, wherein the expansion instruction is generated based on the requirement of a user and indicates the operation of editing, deleting or copying the initial card.
305. And the first terminal executes corresponding operation on the first card according to the first card expansion instruction so as to generate the second card.
And the first terminal executes corresponding operation on the first card according to the card expansion instruction so as to generate a second card. The expansion instruction includes an edit instruction, a delete instruction, and/or a copy instruction.
When the expansion instruction is an editing instruction, the first terminal executes editing operation on the first card according to the editing instruction, and the data editor on the card can be used for editing the card, wherein the data editor can be a JS editor, and the JS editor is shown in fig. 4. When editing data, the JS is written at the point of editing data in the JS editor shown in fig. 4 to realize writing of data on the card.
The attribute editor on the first card may be used to edit the first card, where the attribute editor is shown in fig. 5, and the attribute editor on the first card includes attributes such as a size of a text in the card and a color of the text, and it is understood that the attribute editor of the first card includes not only the two card content parameters, but also a font style of the text and whether to display other card content parameters such as an X axis and a Y axis, which is not limited in specific.
When editing the cards, the effect of editing the first card can be observed according to the dynamic display interface in the first card, the dynamic display interface in the first card is shown in fig. 6, data editing is carried out on the data editor, corresponding data change can occur in the dynamic display interface in the first card, the first card is edited on the attribute editor, corresponding attribute change can occur in the dynamic display interface in the first card, and a user can carry out corresponding modification on the first card according to the effect displayed by the dynamic display interface in the first card after editing, and the card generated after editing is the second card.
When the expansion instruction is a deletion instruction, the first terminal executes a deletion operation on the first card according to the deletion instruction, and the deleted first card is not displayed to the user.
When the expansion instruction is a copy operation, the first terminal executes the copy operation on the first card according to the copy instruction to generate a same card, and the same card is a second card.
306. And the first terminal stores the second card into a card library.
The first terminal stores the second card in the first card library, and it can be understood that if the card expansion instruction received by the first terminal is an editing instruction, the first terminal stores the second card generated after editing in the first card library. If the card expansion instruction received by the first terminal is a copying instruction, the first terminal stores the second identical card generated after copying into a first card library. If the card expansion instruction received by the first terminal is a deletion instruction, the first terminal executes a deletion operation on the initialization card, and the deleted initialization card is not stored in the first card library.
It should be understood that the steps 302 to 306 may or may not be performed, and other steps may be performed if not performed, which will not be described herein.
307. The first terminal acquires the data content of the first card and the construction program of the first card.
The first terminal obtains a construction method and a rendering method related to the first card according to the information of the first card, where the information of the first card may be an ID of the first card, an identifier of the first card, or other forms, and the specific embodiment is not limited herein.
308. And the first terminal generates the plug-in according to the data content of the first card and the construction program of the first card.
After the first terminal extracts the construction method and the rendering method of the first card, the extracted method is transformed into a certain form of closure, specifically, the method can be javaScript and other forms capable of realizing closure transformation, then the first terminal adds a destroying method, a data setting interface and a data analysis interface of the corresponding card, and finally, the closure is exported to generate a certain form of file, namely, a plug-in, and the file can be a javaScript file and other forms of files capable of realizing the plug-in function.
309. And the first terminal sends the plug-in to the second terminal.
The request sent by the second terminal to the first terminal includes the identifier of the second terminal, and the first terminal sends the generated plugin to the second terminal according to the identifier, so that the second terminal can migrate the data content on the first page to the second page through the plugin, as shown in fig. 7.
Referring to fig. 8, a detailed description of a data migration method in an embodiment of the present application is provided below, where one embodiment of the method for data migration in an embodiment of the present application includes:
401. the second terminal sends a data migration request to the first terminal.
When a user edits data on one web page and needs to use the data on another web page, the web page edited by the user is called a second page, and the web page which needs to use the data is called a first page. The terminal to which the first page belongs is called a first terminal, the terminal to which the second page belongs is called a second terminal, and the first terminal and the second terminal can be the same terminal or different terminals.
If the first terminal and the second terminal are different terminals, the second terminal sends a data migration request to the first terminal, where the data migration request includes information of a card to be migrated, the information of the card to be migrated may be an ID of the card and an identifier of the card, and it is understood that the information of the card to be migrated may also be other types of parameters related to the card, and the method is not limited herein. It will be appreciated that the data migration request may also include an identification of the second terminal.
402. And the second terminal receives the plug-in sent by the first terminal.
The second terminal receives a plug-in sent by the first terminal, wherein the plug-in comprises data content on a first page and a program for constructing a first card.
403. The second terminal introduces the plug-in the second page.
When the second terminal develops the second page on the web page editor, the plug-in is introduced into the second page in a manner of introducing JS, for example, a specific introduction manner shown in fig. 9, such as < script type= "text/javascript" src= "/JS/simultator. JS" >, where the specific introduction manner may also be other manners, and the specific introduction manner is not limited herein.
404. And the second terminal calls the program for constructing the first card according to the plug-in.
The plug-in includes a program for constructing the first card, the terminal calls the program for constructing the first card according to the related information of the plug-in, the related information of the plug-in can be a card identifier or an ID of the card, and can also be other information for representing the identity of the card, which is not limited herein, and the content of the package for constructing the first card can include a method for constructing the first card and a method for rendering the first card, and can also include other methods, which are not limited herein.
405. The second terminal constructs the first card according to the program.
The process of constructing the first card template by the second terminal according to the program included in the plug-in unit and constructing the first card is the process of initializing the plug-in unit, as shown in fig. 9, when the plug-in unit is about to start to initialize, the first terminal receives an ID of a container according to a user instruction, the plug-in unit will call the construction method to initialize in the container, and the first card is generated after the initialization is completed.
406. The second terminal receives the data modification instruction.
407. And the second terminal modifies the data of the first card according to the data modification instruction to generate a third card.
After receiving the data modification instruction, the second terminal modifies the data of the first card according to the data modification instruction, which is a process of assigning a value to the plugin, as shown in fig. 9. The plug-in supports incoming data sources in a data format to facilitate providing an interface for editing data to a user, supporting user configuration data. The data format may be a map format, or may be other formats, which is not limited herein, and the interface for editing data may be a setdata interface, or may be other interfaces, which is not limited herein.
And after receiving the data modification instruction, the second terminal modifies the data of the first card according to the data modification instruction to generate a third card.
408. And the second terminal displays the third card in the second page.
And the second terminal displays the generated third card in the second page.
The data migration method in the embodiment of the present application is described above, and the terminal in the embodiment of the present application is described below, referring to fig. 10, where an embodiment of the terminal in the embodiment of the present application includes:
501. the receiving unit is used for receiving a data transplanting request sent by the second terminal, wherein the data transplanting request comprises information of a first card to be transplanted;
502. the acquisition unit is used for acquiring a first card according to the information of the first card to be transplanted, wherein the first card comprises data content on a first page;
503. a generating unit for generating an insert according to the first card, the insert including data content of the first card and a program for constructing the first card;
504. and the sending unit is used for sending the plug-in to the second terminal so that the second terminal can transfer the data content on the first page to a second page through the plug-in.
In this embodiment, the operations performed by the units in the terminal are similar to those described in the embodiment shown in fig. 1, and are not repeated here.
The embodiment of the application provides a data migration method, which mainly comprises the steps that after a receiving unit receives a data migration request sent by a second terminal, an obtaining unit obtains a card according to information of the card to be migrated, and the obtained card comprises data content on a first page. The generating unit generates an insert according to the acquired card, wherein the insert has portability and comprises a program for constructing the card. The sending unit sends the generated plug-in to the second terminal, the second terminal transfers the data content on the first page to the second page through the plug-in, and the user does not need to develop again on the second page, so that the development efficiency is improved.
In the above description of one terminal according to the embodiment of the present application, referring to fig. 11, another terminal according to the embodiment of the present application includes:
601. the data migration method comprises the steps of sending a data migration request to a first terminal, wherein the data migration request comprises information of a first card to be migrated;
602. the receiving unit is used for receiving the plug-in unit sent by the first terminal, wherein the plug-in unit comprises data content of a first card and a program for constructing the first card, and the first card comprises the data content on a first page;
603. and the transplanting unit is used for transplanting the data content on the first page to the second page through the plug-in.
The embodiment of the application provides a data transplanting method, a sending unit sends a data transplanting request to a first terminal, wherein the data transplanting request comprises information of a first card to be transplanted; the receiving unit receives a plug-in sent by the first terminal, wherein the plug-in has portability, and the plug-in comprises a program for constructing a card. The transplanting unit is used for transplanting the data content on the first page to the second page through the plug-in, so that a user does not need to develop the second page again, and the development efficiency is improved.
Fig. 12 is a schematic diagram of a terminal structure provided in an embodiment of the present application, where the terminal 700 may include one or more central processing units (central processing units, CPU) 701 and a memory 705, and one or more application programs or data are stored in the memory 705.
Wherein the memory 705 may be volatile storage or persistent storage. The program stored in the memory 705 may include one or more modules, each of which may include a series of instruction operations in the terminal. Still further, the central processor 701 may be configured to communicate with the memory 705 and execute a series of instruction operations in the memory 705 on the terminal 700.
The terminal 700 may also include one or more power supplies 702, one or more wired or wireless network interfaces 703, one or more input/output interfaces 704, and/or one or more operating systems, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The cpu 701 may perform the operations performed by the terminal in the embodiment shown in fig. 3, which are not described herein.
Fig. 13 is a schematic diagram of a terminal structure provided in an embodiment of the present application, where the terminal 800 may include one or more central processing units (central processing units, CPU) 801 and a memory 805, and the memory 805 stores one or more application programs or data.
Wherein the memory 705 may be volatile storage or persistent storage. The program stored in the memory 805 may include one or more modules, each of which may include a series of instruction operations in the terminal. Further, the central processor 801 may be arranged to communicate with a memory 805, executing a series of instruction operations in the memory 805 on the terminal 800.
The terminal 800 may also include one or more power supplies 802, one or more wired or wireless network interfaces 803, one or more input/output interfaces 804, and/or one or more operating systems, such as Windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The cpu 801 may perform the operations performed by the terminal in the embodiment shown in fig. 3, which are not described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a terminal, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM, random access memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.

Claims (8)

1. A method of data migration, comprising:
the method comprises the steps that a first terminal obtains data content on a first page;
the first terminal generates a first card according to the data content on the first page, and the first card comprises: the first terminal generates a first card according to the data content on the first page; the first terminal receives a first card expansion instruction, wherein the expansion instruction is used for indicating the first card to be edited, deleted or copied; the first terminal executes corresponding operation on the first card according to the first card expansion instruction so as to generate a second card; the first card comprises a property editor, a data editor and a dynamic display interface, wherein the dynamic display interface is used for displaying the editing effect of the first card;
the first terminal stores the first card into a card library;
the method comprises the steps that a first terminal receives a data transplanting request sent by a second terminal, wherein the data transplanting request comprises information of a first card to be transplanted;
the first terminal acquires a first card according to the information of the first card to be transplanted, wherein the first card comprises data content on a first page;
the first terminal generates an insert according to the first card, wherein the insert comprises the data content of the first card and a program for constructing the first card;
the first terminal sends the plug-in to the second terminal so that the second terminal can transfer the data content on the first page to a second page through the plug-in;
the first terminal generates a plug-in according to the first card, and the plug-in comprises:
the first terminal acquires the data content of the first card and the construction program of the first card;
and the first terminal generates the plug-in according to the data content of the first card and the construction program of the first card.
2. A method of data migration, comprising:
the second terminal sends a data transplanting request to the first terminal, wherein the data transplanting request comprises information of a first card to be transplanted;
the second terminal receives a plug-in unit sent by a first terminal, wherein the plug-in unit comprises data content of a first card and a program for constructing the first card, the plug-in unit acquires the data content of the first card and the program for constructing the first card from the first terminal, the plug-in unit is generated according to the data content of the first card and the program for constructing the first card, and the first card comprises the data content on a first page; the first card comprises a property editor, a data editor and a dynamic display interface, wherein the dynamic display interface is used for displaying the editing effect of the first card; the first card is generated by the first terminal according to the data content on the first page and stored in a card library, wherein the first terminal generates the first card according to the data content on the first page, and the method comprises the following steps: the first terminal generates a first card according to the data content on the first page; the first terminal receives a first card expansion instruction, wherein the expansion instruction is used for indicating the first card to be edited, deleted or copied; the first terminal executes corresponding operation on the first card according to the first card expansion instruction so as to generate a second card;
and the second terminal transfers the data content on the first page to a second page through the plug-in.
3. The method of data migration according to claim 2, wherein the second terminal migrating the data content on the first page to a second page through the plug-in includes:
the second terminal introduces the plug-in a second page;
the second terminal constructs the first card according to the plug-in;
the second terminal displays the first card in the second page.
4. A method of data migration according to claim 3, wherein the terminal constructing the first card from the plug-in comprises:
the second terminal calls the data content of the first card and constructs a program of the first card according to the plug-in;
the second terminal constructs the first card according to the data content and the program.
5. The method of claim 3, wherein after the second terminal constructs the first card according to the data content and the program, the second terminal further comprises, before the first card is displayed in the second page:
the second terminal receives a data modification instruction;
and the second terminal modifies the first card according to the data modification instruction to generate a third card.
6. A terminal, comprising:
the receiving unit is used for receiving a data transplanting request sent by the second terminal, wherein the data transplanting request comprises information of a first card to be transplanted;
the acquisition unit is used for acquiring a first card according to the information of the first card to be transplanted, wherein the first card comprises data content on a first page; the first card comprises a property editor, a data editor and a dynamic display interface, wherein the dynamic display interface is used for displaying the editing effect of the first card;
a generating unit, configured to generate an insert according to the first card, where the insert includes data content of the first card and a program for constructing the first card;
the sending unit is used for sending the plug-in to the second terminal so that the second terminal can transfer the data content on the first page to a second page through the plug-in;
the acquisition unit is also used for acquiring the data content on the first page by the first terminal;
the generating unit is further configured to generate, by the first terminal, the first card according to the data content on the first page, where the generating unit includes: the first terminal generates a first card according to the data content on the first page; the first terminal receives a first card expansion instruction, wherein the expansion instruction is used for indicating the first card to be edited, deleted or copied; the first terminal executes corresponding operation on the first card according to the first card expansion instruction so as to generate a second card; the first terminal stores the first card into a card library;
the generating unit is specifically configured to, when generating an insert according to the first card:
acquiring the data content of the first card and a construction program of the first card;
and generating the plug-in according to the data content of the first card and the construction program of the first card.
7. A computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of claim 1.
8. A computer storage medium having instructions stored therein which, when executed on a computer, cause the computer to perform the method of any of claims 2 to 5.
CN201910939516.5A 2019-09-29 2019-09-29 Data migration method, terminal and storage medium Active CN110704105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910939516.5A CN110704105B (en) 2019-09-29 2019-09-29 Data migration method, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910939516.5A CN110704105B (en) 2019-09-29 2019-09-29 Data migration method, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110704105A CN110704105A (en) 2020-01-17
CN110704105B true CN110704105B (en) 2023-09-19

Family

ID=69197363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910939516.5A Active CN110704105B (en) 2019-09-29 2019-09-29 Data migration method, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110704105B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314432A (en) * 2010-06-30 2012-01-11 上海视加信息科技有限公司 Method for customizing website
CN103118342A (en) * 2013-01-22 2013-05-22 中兴通讯股份有限公司 Multi-media information sending, receiving and transmission method and card sending and receiving terminal
CN106484445A (en) * 2015-08-27 2017-03-08 阿里巴巴集团控股有限公司 The page display method of application program for mobile terminal and device
CN106502738A (en) * 2016-10-24 2017-03-15 福建中金在线信息科技有限公司 Data load method and device in a kind of mobile terminal
CN107291940A (en) * 2017-07-07 2017-10-24 腾讯科技(深圳)有限公司 Content of pages management method, device and associated server
WO2018086463A1 (en) * 2016-11-09 2018-05-17 阿里巴巴集团控股有限公司 User information obtaining system, method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7941755B2 (en) * 2007-04-19 2011-05-10 Art Technology Group, Inc. Method and apparatus for web page co-browsing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314432A (en) * 2010-06-30 2012-01-11 上海视加信息科技有限公司 Method for customizing website
CN103118342A (en) * 2013-01-22 2013-05-22 中兴通讯股份有限公司 Multi-media information sending, receiving and transmission method and card sending and receiving terminal
CN106484445A (en) * 2015-08-27 2017-03-08 阿里巴巴集团控股有限公司 The page display method of application program for mobile terminal and device
CN106502738A (en) * 2016-10-24 2017-03-15 福建中金在线信息科技有限公司 Data load method and device in a kind of mobile terminal
WO2018086463A1 (en) * 2016-11-09 2018-05-17 阿里巴巴集团控股有限公司 User information obtaining system, method and device
CN107291940A (en) * 2017-07-07 2017-10-24 腾讯科技(深圳)有限公司 Content of pages management method, device and associated server

Also Published As

Publication number Publication date
CN110704105A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
CN109801347B (en) Method, device, equipment and medium for generating editable image template
US6801673B2 (en) Section extraction tool for PDF documents
CN111553131B (en) PSD file analysis method, device, equipment and readable storage medium
WO2016054549A1 (en) Application prototyping tool
CN111783414A (en) Label printing template generation method and device
CN112882703B (en) Online design method and device for user-defined chart plug-in
CN108121539B (en) Component processing method and apparatus
CN114791989B (en) A browser-based PSD file parsing method, system, and storage medium
CN110929495B (en) Method for automatically beautifying typesetting of articles
CN113382083A (en) Webpage screenshot method and device
CN104715004B (en) Page description language output is obscured to hinder to be converted to editable format
CN110708423A (en) Message content display method and device and storage medium
CN114791988A (en) Browser-based PDF file analysis method, system and storage medium
CN113377453A (en) Picture processing method and device and electronic equipment
CN110704105B (en) Data migration method, terminal and storage medium
CN111199568B (en) Vector diagram drawing method and device and computer readable storage medium
US10140278B2 (en) Computer-implemented methods and systems for associating files with cells of a collaborative spreadsheet
CN110647352B (en) Data migration method, terminal and storage medium
CN112733726A (en) Bill sample capacity expansion method and device, electronic equipment and storage medium
CN112035774A (en) Network page generation method and device, computer equipment and readable storage medium
CN116028036A (en) Method and medium for fast access to low-code engine business components
CN111767498A (en) Method and device for realizing file information sharing
CN113779943B (en) Form generation method, form generation device, storage medium and electronic equipment
CN111273913B (en) Method and device for outputting application program interface data represented by specifications
CN115904167A (en) Processing method and device of webpage icon, storage medium and electronic equipment

Legal Events

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