CN104714936A - Method and system for triggering data source - Google Patents

Method and system for triggering data source Download PDF

Info

Publication number
CN104714936A
CN104714936A CN201410851784.9A CN201410851784A CN104714936A CN 104714936 A CN104714936 A CN 104714936A CN 201410851784 A CN201410851784 A CN 201410851784A CN 104714936 A CN104714936 A CN 104714936A
Authority
CN
China
Prior art keywords
data
data source
copy
trigger
source
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.)
Granted
Application number
CN201410851784.9A
Other languages
Chinese (zh)
Other versions
CN104714936B (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.)
Science And Education Equipment Co Ltd Of Shanghai Child State
Original Assignee
Science And Education Equipment Co Ltd Of Shanghai Child State
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 Science And Education Equipment Co Ltd Of Shanghai Child State filed Critical Science And Education Equipment Co Ltd Of Shanghai Child State
Priority to CN201410851784.9A priority Critical patent/CN104714936B/en
Publication of CN104714936A publication Critical patent/CN104714936A/en
Application granted granted Critical
Publication of CN104714936B publication Critical patent/CN104714936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention provides a method and system for triggering a data source, and belongs to the technical field of computing terminals and software. The method includes the steps that when data are replicated, the storage path information of the data source is collected, and the position information of the replicated data in data source document content is also collected; after the replicated data are pasted to a target document, the replicated data and the above information related to the replicated data are stored through the target document; in correspondence with the replicated data, after the operating information for triggering the data source is collected, the data source is started, and the corresponding position and content of the replicated data in the data source are output. By the adoption of the method and system, the data source of the replicated data can be triggered more conveniently.

Description

In order to the method and system in trigger data source
Technical field
The invention belongs to computing terminal, software technology field.
Background technology
In work and life, often have the demand that document uses, and the demand of documents editing.Such as in the process of documents editing, user passes through mode image data from a document of copy and paste, by gathered data batchmove in another one document.Data after transfer, needing to check original text shelves if user finds that there is problem, is usually a troublesome thing.User needs the store path checking data, and then finds the position at data source place.If this deficiency can be made up by mode more easily, can bring advantage to the user.
Summary of the invention
The object of this invention is to provide a kind of method for trigger data source, and the system of correspondence, utilize the present invention, the data source copying data can be triggered more conveniently.
The described method in order to trigger data source, the method includes following steps:
When copying data, the store path information in image data source, and gather copy the positional information of data in data source document content;
After aforementioned copy sticky data is attached to destination document, by destination document store copied data and with the aforementioned information copying data and be associated;
Correspond to copied data, after gathering the operation information obtaining trigger data source, turn-on data source, export copy the correspondence position of data in data source and content.
Further, every need to check data source copy data, in destination document, do differentiation display.
Further, setting data source control in aforesaid destination document, this data source control with copy between data corresponding, its mode of operation is,
Correspond to there is data source information copy data, at close position output data source control;
Gather Trigger message to this data source control, open corresponding data source, export and copy the position of data in this data source and content.
Further, correspond to and aforesaidly copy data, proceed as follows,
By the aforesaid data source copied corresponding to data, generate and copy the browse graph of data in data source;
Trigger in destination document copy data time, can open and copy data browse graph corresponding in data source.
Further, when aforesaid copy data be provided with data source control, proceed as follows,
Gather user to the Trigger message of aforementioned data source control, determine whether that being directed to this data source is provided with browsing data;
When being provided with browsing data, first exporting browsing data, when user continues trigger data source control or browsing data, then triggering output data source.
Further, described browse graph, adopts following mode to implement,
Determine whether to need to export browse graph data message by copying data;
When needs export browse graph data message, by the store path information of the data source corresponding with Copy Info and the positional information of document content, after in the mode of virtual unlatching data source being opened, gather and copy the positional information of data in data source, sectional drawing is carried out to the image of the data message be associated with this position;
Correspond to and aforesaidly copy data, in destination document or the corresponding form of destination document, export aforesaid sectional drawing as browse graph.
Further, aforesaidly copy data and data source, obtain in the following way,
Synchronous acquisition source store path information and copy the operating process of data positional information when being preset in image data, this operating process is triggered by copy control;
When gathering the Trigger message obtaining aforementioned copy control, enter into the replicate run flow process in synchronous acquisition source;
Carrying out copying on the basis of data acquisition, gathering the store path information copying data source corresponding to data, and copy the positional information of data in this data source, or gather the information content corresponding to this data source data;
Gathered data are carried out data storage by the client corresponding to the present invention, and gathered is copied data importing to corresponding destination document position.
Further, copy data and data source by aforesaid, and set up incidence relation between the current document edited and aforesaid data source, its step is as follows,
Gather the data message of the current document that user is editing;
The data source of reproducting content in aforesaid data message and this document is compared, to judge in the data message edited of user and data source and similarity between other data message outside reproducting content;
When similarity reaches default requirement, export similarity between current edited content and original text shelves, form list, or the data content had in the data source of similarity is opened rear for reference, or generating corresponding trigger control, triggering rear output for receiving user.
Further, described alignments is following one,
Mode one, compares with word or pattern, by the data of destination document and the data of data source identical, as similar necessary requirement;
Mode two, obtain Word message or pattern-information, then the data in destination document and the data in data source are compared, the mode close according to implication is compared.
Further, after copying the relation that to be associated between data and data source, proceed as follows,
Gather the operation that user triggers in destination document;
Obtain the content in each data source copying corresponding to data;
Title in collection aforementioned data source or the name information of data source, collect in the position of quoted passage, form quoted passage list.
The present invention also provides a kind of system for trigger data source, and this system comprises:
Data source collecting unit, in order to when copying data, the store path information in image data source, and gather copy the positional information of data in data source document content;
Data source imports unit, in order to after aforementioned copy sticky data is attached to destination document, by destination document store copied data and with the aforementioned information copying data and be associated;
Data source output unit, correspond to copied data, after gathering the operation information obtaining trigger data source, turn-on data source, export copy the correspondence position of data in data source and content.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the method for the invention, is a kind of embodiment.
Fig. 2 is the structured flowchart of system of the present invention, is a kind of embodiment.
Embodiment
Shown in ginseng Fig. 1, illustrate a kind of implementation method of the present invention here, specifically, the method includes following steps:
Step 110, when copying data, the store path information in image data source, and gather copy the positional information of data in data source document content;
Step 120, after aforementioned copy sticky data is attached to destination document, by destination document store copied data and with the aforementioned information copying data and be associated;
Step 130, correspond to copied data, after gathering the operation information obtaining trigger data source, turn-on data source, export copy the correspondence position of data in data source and content.
Further, correspond to method described above, also there is following technical characteristic:
One, every need to check data source copy data, in destination document, do differentiation display.
People often use the mode copied to carry out Edit Document.Wherein have a lot of data, user does not need to check data source.That is, whether check data source, can be determined by user, trigger as required.Conveniently check which content copies data, and have by data source described in the invention, for example and without limitation, the mode shown by differentiation is indicated.
The display of so-called differentiation, refer to according to the rule preset show there is aforementioned data source copy data, and this rule lower show copy between data and the data of other not replicated, there is visual difference.This rule preset does not limit, for example, underscore can be set to all data that copy of checking data source that need, or, show corresponding character with specific color, mark copied data type with specific square frame, or, specific mark marks, etc., be all fine.
Two, setting data source control in destination document, this data source control with copy between data corresponding.
As a kind of embodiment, can carry out like this:
Correspond to there is data source information copy data, at close position output data source control;
Gather Trigger message to this data source control, open corresponding data source, export and copy the position of data in this data source and content.
Aforesaid data source control, can be presented by the mode of an icon, and as an example, icon can be arranged on and copy among data, such as copies beginning or the ending of data, is all suitable; In addition, also can this data source control be arranged in the side edge frame of document, be applicable to adjoining with this region of copying data place.When user wishes trigger data source time, click this data source control and just can achieve.
Three, by the aforesaid data source copied corresponding to data, generate and copy the browse graph of data in data source; Trigger in destination document copy data time, can open and copy data browse graph corresponding in data source.
In the present invention, browse graph, in order to the convenience illustrated, is also called browsing data by this browse graph.
For example, copying data is passages in one section of document, to copying in process that data gather, except collection copies the content corresponding to data, sectional drawing is carried out to the current page at this word place, and in this sectional drawing, the region at copied word content place is identified.This sectional drawing obtained, just can copy the browse graph of data in data source as aforesaid.
Aforesaid browse graph is inconjunction with the data message that data source is relevant, stores in described destination document.By in destination document copy data-triggered aforesaid data source time, can first export this browse graph.If user can meet the query demand of information by this browse graph, just do not need the open operation in trigger data source again.If the data message in browse graph cannot meet the demand of user, correspond to this browse graph can the unlatching link in setting data source, when triggering this browse graph, opens corresponding data source.
Further, if correspond to the aforesaid data that copy when being provided with data source control, can also operation like this:
Gather user to the Trigger message of aforementioned data source control, determine whether that being directed to this data source is provided with browsing data;
When being provided with browsing data, first exporting browsing data, when user continues trigger data source control or browsing data, then triggering output data source.
In addition, it should be noted that, described browse graph can also obtain by another way, for example and without limitation, can adopt following mode to implement:
First, determine whether to need to export browse graph data message by copying data;
When needs export browse graph data message, by the store path information of the data source corresponding with Copy Info and the positional information of document content, after in the mode of virtual unlatching data source being opened, gather and copy the positional information of data in data source, sectional drawing is carried out to the image of the data message be associated with this position;
Correspond to and aforesaidly copy data, in destination document or the corresponding form of destination document, export aforesaid sectional drawing as browse graph.
Four, when need gather data and non-invention corresponding to client when, can be operated by following mode:
Preset by mode described in the invention, synchronous acquisition source store path information and the operating process copying data positional information when image data, this operating process is triggered by copy control;
When gathering the Trigger message obtaining aforementioned copy control, enter into the replicate run flow process in synchronous acquisition source;
Carrying out copying on the basis of data acquisition, gathering the store path information copying data source corresponding to data, and copy the positional information of data in this data source, or gather the information content corresponding to this data source data;
Gathered data are carried out data storage by the client corresponding to the present invention, and gathered is copied data importing to corresponding destination document position.
As an example, use client of the present invention, correspond to the document that user is editing, user wishes, carries out replicate run by the data in a webpage.So user, by the aforesaid document edited, starts the copy control wherein preset, enters into data acquisition operations described in the invention.In order to distinguish with data acquisition operations above, under this data acquisition operations state, form and the former form of cursor have difference, mark in this way.User have selected the passage in the aforementioned page by cursor, in the process of carrying out this operation, the website data information of place webpage is gathered by the client corresponding to the present invention, by whole, webpage is positioned simultaneously, obtain the length of webpage and the data message of width aspect, and is compared in the position of the position of aforementioned copied word also this webpage, obtain aforementioned copied word relative position in the web page.And then by the data message of the data source aspect of copied aforementioned word and collection, jointly import in aforesaid client document and store.And then according to the needs of user, data source is carried out triggering output function.
Five, copy data and data source by aforesaid, between the current document can edited user and aforesaid data source, set up incidence relation, by this incidence relation, can realize more operating object.Specifically, for example and without limitation, the step that can be implemented as follows:
Gather the data message of the current document that user is editing;
The data source of reproducting content in aforesaid data message and this document is compared, to judge in the data message edited of user and data source and similarity between other data message outside reproducting content;
When similarity reaches default requirement, export similarity between current edited content and original text shelves, form list, or the data content had in the data source of similarity is opened rear for reference, or generating corresponding trigger control, triggering rear output for receiving user.
This mode can bring much value to user.Such as have relevance with other content of data source in the document data that user is editing, obviously, user can carry out reference to the associated data in data source, and is ignorant before this point user.By aforesaid alignments, user can be given with prompting.Aforesaid similarity comparison, concrete mode does not limit, as an example to be implemented by following mode:
Mode one, compares with word or pattern, by the data of destination document and the data of data source identical, as similar necessary requirement.
Mode two, obtain Word message or pattern-information, then the data in destination document and the data in data source are compared, the mode close according to implication is compared.
Aforesaid comparison threshold value does not also limit.Such as, as long as the simplest mode has a place similar or identical, just can association be formed.Also can establish default specific quantity, such as, just be associated when reaching more than three times or three times, carry out data output.
In addition, by copying the incidence relation between data and data source, following function can also be realized:
Gather the operation that user triggers in destination document;
Obtain the content in each data source copying corresponding to data;
Title in collection aforementioned data source or the name information of data source, collect in the position of quoted passage, form quoted passage list.
This is one quoted passage acquisition pattern very efficiently.Quoted passage backmost the presenting usually at document obtained, certainly also do not limit.
Further, each project in aforesaid quoted passage list, can also the position at place, image data source, and copies the position of data in data source, forms linking relationship, after the trigger can direct turn-on data source.
Further, present invention also offers a kind of system 200 for trigger data source, this system 200 includes following ingredient:
Data source collecting unit 210, in order to when copying data, the store path information in image data source, and gather copy the positional information of data in data source document content;
Data source imports unit 220, in order to after aforementioned copy sticky data is attached to destination document, by destination document store copied data and with the aforementioned information copying data and be associated;
Data source output unit 230, correspond to copied data, after gathering the operation information obtaining trigger data source, turn-on data source, export copy the correspondence position of data in data source and content.
When concrete operations, by described data source collecting unit 210, copy data in data source while, the store path information in synchronous acquisition source, and gather copy the positional information of data in data source document content.And then import unit 220 by data source, after aforementioned copy sticky data is attached to destination document by user, synchronously by destination document store copied data and with the aforementioned information copying data and be associated.So, by aforesaid data source output unit 230, correspond to copied data, after gathering the operation information obtaining trigger data source, turn-on data source, export copy the correspondence position of data in data source and content.
This system correspond to aforesaid method and is described, further ins and outs, ginseng the content of the foregoing description.
Be more than the description of this invention and non-limiting, based on other embodiment of inventive concept, also all among protection scope of the present invention.

Claims (11)

1., in order to the method in trigger data source, it is characterized in that the method includes following steps:
When copying data, the store path information in image data source, and gather copy the positional information of data in data source document content;
After aforementioned copy sticky data is attached to destination document, by destination document store copied data and with the aforementioned information copying data and be associated;
Correspond to copied data, after gathering the operation information obtaining trigger data source, turn-on data source, export copy the correspondence position of data in data source and content.
2. a kind of method in order to trigger data source according to claim 1, is characterized in that: every need to check data source copy data, in destination document, do differentiation display.
3. a kind of method in order to trigger data source according to claim 1, is characterized in that: setting data source control in aforesaid destination document, this data source control with copy between data corresponding, its mode of operation is,
Correspond to there is data source information copy data, at close position output data source control;
Gather Trigger message to this data source control, open corresponding data source, export and copy the position of data in this data source and content.
4. a kind of method in order to trigger data source according to claim 1, is characterized in that: correspond to and aforesaidly copy data, proceed as follows,
By the aforesaid data source copied corresponding to data, generate and copy the browse graph of data in data source;
Trigger in destination document copy data time, can open and copy data browse graph corresponding in data source.
5. a kind of method in order to trigger data source according to claim 3 or 4, is characterized in that: when aforesaid copy data be provided with data source control, proceed as follows,
Gather user to the Trigger message of aforementioned data source control, determine whether that being directed to this data source is provided with browsing data;
When being provided with browsing data, first exporting browsing data, when user continues trigger data source control or browsing data, then triggering output data source.
6. a kind of method in order to trigger data source according to claim 4, is characterized in that: described browse graph, adopts following mode to implement,
Determine whether to need to export browse graph data message by copying data;
When needs export browse graph data message, by the store path information of the data source corresponding with Copy Info and the positional information of document content, after in the mode of virtual unlatching data source being opened, gather and copy the positional information of data in data source, sectional drawing is carried out to the image of the data message be associated with this position;
Correspond to and aforesaidly copy data, in destination document or the corresponding form of destination document, export aforesaid sectional drawing as browse graph.
7. a kind of method in order to trigger data source according to claim 1, is characterized in that: aforesaidly copy data and data source, obtains in the following way,
Synchronous acquisition source store path information and copy the operating process of data positional information when being preset in image data, this operating process is triggered by copy control;
When gathering the Trigger message obtaining aforementioned copy control, enter into the replicate run flow process in synchronous acquisition source;
Carrying out copying on the basis of data acquisition, gathering the store path information copying data source corresponding to data, and copy the positional information of data in this data source, or gather the information content corresponding to this data source data;
Gathered data are carried out data storage by the client corresponding to the present invention, and gathered is copied data importing to corresponding destination document position.
8. a kind of method in order to trigger data source according to claim 1, is characterized in that: copy data and data source by aforesaid, and set up incidence relation between the current document edited and aforesaid data source, its step is as follows,
Gather the data message of the current document that user is editing;
The data source of reproducting content in aforesaid data message and this document is compared, to judge in the data message edited of user and data source and similarity between other data message outside reproducting content;
When similarity reaches default requirement, export similarity between current edited content and original text shelves, form list, or the data content had in the data source of similarity is opened rear for reference, or generating corresponding trigger control, triggering rear output for receiving user.
9. a kind of method in order to trigger data source according to claim 8, is characterized in that: described alignments, is following one,
Mode one, compares with word or pattern, by the data of destination document and the data of data source identical, as similar necessary requirement;
Mode two, obtain Word message or pattern-information, then the data in destination document and the data in data source are compared, the mode close according to implication is compared.
10. a kind of method in order to trigger data source according to claim 8, is characterized in that: after copying the relation that to be associated between data and data source, proceed as follows,
Gather the operation that user triggers in destination document;
Obtain the content in each data source copying corresponding to data;
Title in collection aforementioned data source or the name information of data source, collect in the position of quoted passage, form quoted passage list.
11. 1 kinds of systems for trigger data source, is characterized in that this system comprises:
Data source collecting unit, in order to when copying data, the store path information in image data source, and gather copy the positional information of data in data source document content;
Data source imports unit, in order to after aforementioned copy sticky data is attached to destination document, by destination document store copied data and with the aforementioned information copying data and be associated;
Data source output unit, correspond to copied data, after gathering the operation information obtaining trigger data source, turn-on data source, export copy the correspondence position of data in data source and content.
CN201410851784.9A 2014-12-30 2014-12-30 To the method and system in trigger data source Active CN104714936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410851784.9A CN104714936B (en) 2014-12-30 2014-12-30 To the method and system in trigger data source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410851784.9A CN104714936B (en) 2014-12-30 2014-12-30 To the method and system in trigger data source

Publications (2)

Publication Number Publication Date
CN104714936A true CN104714936A (en) 2015-06-17
CN104714936B CN104714936B (en) 2017-06-27

Family

ID=53414282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410851784.9A Active CN104714936B (en) 2014-12-30 2014-12-30 To the method and system in trigger data source

Country Status (1)

Country Link
CN (1) CN104714936B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359285A (en) * 2007-08-02 2009-02-04 珠海金山软件股份有限公司 Apparatus and method for inserting control into document
US20110107200A1 (en) * 2007-05-29 2011-05-05 Microsoft Corporation Retaining Style Information when Copying Content
CN102663793A (en) * 2012-03-27 2012-09-12 上海量明科技发展有限公司 Method, client and system for loading screenshot into file
CN103455329A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and system for opening downloaded mail data
CN103458112A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and system for triggering routine selection through client-terminal icon

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110107200A1 (en) * 2007-05-29 2011-05-05 Microsoft Corporation Retaining Style Information when Copying Content
CN101359285A (en) * 2007-08-02 2009-02-04 珠海金山软件股份有限公司 Apparatus and method for inserting control into document
CN102663793A (en) * 2012-03-27 2012-09-12 上海量明科技发展有限公司 Method, client and system for loading screenshot into file
CN103455329A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and system for opening downloaded mail data
CN103458112A (en) * 2013-08-18 2013-12-18 苏州量跃信息科技有限公司 Method and system for triggering routine selection through client-terminal icon

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SDXHD03: "excel中如何复制或移动超链接", 《百度文库》 *

Also Published As

Publication number Publication date
CN104714936B (en) 2017-06-27

Similar Documents

Publication Publication Date Title
US20200242352A1 (en) Syncing physical and electronic document
CN102968269B (en) terminal and terminal management method
US20090049108A1 (en) Method and apparatus for workflow versioning
US20100114985A1 (en) Managing the content of shared slide presentations
KR101864700B1 (en) Method and computer program for integrating spread sheet with database
CN110515896B (en) Model resource management method, model file manufacturing method, device and system
CN103699585A (en) Methods, devices and systems for file metadata storage and file recovery
CN103793298A (en) Method for reading Android mobile phone information
CN104769580A (en) Terminal and method for pasting
EP2897401B1 (en) Method and device for guaranteeing consistency of planning data
CN103870583A (en) Relational-database-based online and controllable browsing method for PDF document
CN105867820A (en) Text editing method and device for touch screen
CN104636029A (en) Display control method and system for control
CN104715497A (en) Data replacement method and system
CN103577554B (en) Trigger the method and device of Android device multimedia database scanning
CN105354138A (en) Method for determining specific control attribute of mobile phone page
CN104977525A (en) Method for manually editing flying probe test file
CN104516919A (en) Quoting annotation processing method and system
CN111176901B (en) HDFS deleted file recovery method, terminal device and storage medium
CN103258021A (en) Character terminal feature data extraction method based on behavioral analysis
CN104714936A (en) Method and system for triggering data source
CN106648618B (en) Text information generation method and device for virtual application
CN106156314B (en) A kind of data manipulation method and device, data search method and device
CN109460318A (en) It is a kind of can rollback archives acquisition data introduction method, computer installation and computer readable storage medium
CN107291400B (en) Snapshot volume relation simulation method and device

Legal Events

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