CN102750265A - Method and device for data replacing - Google Patents

Method and device for data replacing Download PDF

Info

Publication number
CN102750265A
CN102750265A CN2011102485291A CN201110248529A CN102750265A CN 102750265 A CN102750265 A CN 102750265A CN 2011102485291 A CN2011102485291 A CN 2011102485291A CN 201110248529 A CN201110248529 A CN 201110248529A CN 102750265 A CN102750265 A CN 102750265A
Authority
CN
China
Prior art keywords
field
information
attribute
data
field attribute
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
CN2011102485291A
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN2011102485291A priority Critical patent/CN102750265A/en
Publication of CN102750265A publication Critical patent/CN102750265A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method for data replacing. The method specifically includes: receiving modification instructions of field attributes in a scene tree; searching for corresponding field attribute information according to the current chosen field attributes, and prompting all the operation characters capable of being operated by the currently chosen field attributes in real time; and invoking node information, attribute information and parameter information which need modification and correspond to the currently chosen field attributes according to all the operational characters capable of being operated stepwise so as to perform data replacing. By means of the method for data replacing, help information prompting is conducted on each node, attributes and parameters of the field attributes needing replacing, modification of users is facilitated, and data replacing can be finished fast and accurately.

Description

A kind of method and device of data replacement
Technical field
The present invention relates to the diagram text manufacture technical field in broadcasting and TV field, relate in particular to a kind of method and device of data replacement.
Background technology
In the online packaging system, often need make amendment according to some criterion to certain attribute, for different attributes different rules can be arranged, such cover system is management effectively.If but this cover rule writes in the instructions, the user is often difficult to grasp, and often consulting instructions also needs regular hour and energy.
Modification criterion for attribute in the prior art is generally obtained through help document, such as carrying out the captions replacement, then finds respective point, when finding conditional operation then, can be filled into then in the captions attribute with which formula value of acquisition.
But according to the method for prior art, when carrying out data replacements, need search help document repeatedly, in case when the attribute classification was more, searching did not have purpose.When one type the attribute of contact need not revised, and do not know concrete rule, increased blindness.
Summary of the invention
In order to solve the shortcoming of above-mentioned prior art, fundamental purpose of the present invention provides a kind of method and device of data replacement, through in real time the attribute information of data replacement being pointed out, quick and precisely accomplishes the replacement of data.
In order to achieve the above object, the invention provides a kind of method of data replacement, specifically comprise:
Receive the modify instruction of field attribute in the scene tree;
Search whole operational characters that the different classes of field attribute of corresponding field attribute information and the said current selection of real-time prompting can be operated according to the field attribute of current selection;
Call nodal information, attribute information and the parameter information of the field attribute needs modification that meets said current selection step by step according to the said whole operational characters that can operate, carry out the data replacement.
Another aspect of the present invention also provides a kind of data alternative, and this device comprises:
The command reception unit is used for receiving the modify instruction of scene tree field attribute;
The information indicating unit is used for searching whole operational characters that the different classes of field attribute of corresponding field attribute information and the said current selection of real-time prompting can be operated according to the field attribute of current selection;
Data are replaced the unit, are used for calling step by step according to the said whole operational characters that can operate nodal information, attribute information and the parameter information of the field attribute needs modification that meets said current selection, carry out the data replacement.
The present invention passes through each node to the field attribute of needs replacement, and attribute and parameter are all carried out the prompting of help information, make things convenient for user's modification, makes the data replacement to accomplish fast and accurately.
Description of drawings
Technical scheme for the clearer explanation embodiment of the invention; The accompanying drawing of required use is done simple the introduction in will describing embodiment below; Conspicuous, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The method that Fig. 1 replaces for a kind of data that provide in the embodiment of the invention;
Fig. 2 is the composition synoptic diagram of a kind of data alternative in the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below; Technical scheme in the embodiment of the invention is carried out clear, complete description; Obvious described embodiment only is a part of embodiment of the present invention, is not whole embodiment, based on the embodiment among the present invention; Those of ordinary skills are not paying the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The method of a kind of data replacement is provided in the embodiment of the invention one, mainly is through prompt information, and the selection of each step when making the user carry out the data replacement according to information specifically realizes as shown in Figure 1ly, specifically comprises:
Step S101: through a series of criterions of XML formatted file definition of data replacement.
Concrete; The data replacement information of the needs prompting that the XML file storage among the step S101 is all; Mainly be nodal information, attribute information and parameter information; The definition and the symbol that also comprise fixed field, the critical field of each character of user's input or the explain information of operational character and case introduction etc.
Preferably, different classes of field store is in different arrays.
Step S102: when some field attribute need be revised in the scene tree, the user only need import the current field attribute that needs modification, promptly sent the modify instruction of field attribute.
Step S103: in XML, search whole operational characters that the field attribute of field attribute information corresponding matched information and the current selection of real-time prompting can be operated according to the field attribute of current selection.
Concrete, according to the different nodes of user's input, attribute or field show the pairing relevant information of field attribute information of this input respectively in real time.
Whole field informations of pointing out current input node to operate according to the node type of current input;
According to the selected field information prompting of current input node whole field attribute information that this field had;
Point out whole parameter informations of the field attribute of said current input node according to the field attribute of current input node.
Therefore, being stored in some supplementarys that fields dissimilar in the different arrays and this node can operate according to field attribute and the node type of input with regard to the ability classification display points out.
Step S104: the user can select the nodal information of the required modification of field attribute of current selection according to the information of said whole each grades of operational character that can operate, and attribute information and parameter information carry out the editor of formula, accomplish the data replacement.
Preferably; Information in the XML file is assisted through certain medium; Such as utilizing data processing aid prompting window, carry out relatedly through the XML file and the prompt window that will load, needs are revised each step of field attribute of replacement and all come the real-time information of offering help through prompt window; And this window can be a nonmodal, when whole engineering withdraw from or current edit scene when switching this window can hide.
In the embodiment of the invention, through each node to the field attribute of needs replacements, attribute and parameter are all carried out the prompting of help information, make things convenient for user's modification, and making data replace can accomplish fast and accurately.
To combine concrete practical application that the data replacement method among the embodiment one is done further detailed description in the embodiment of the invention two; Replacement for attribute in the online packaging system generally all utilizes formula to accomplish the data replacement according to some criterion; The embodiment of the invention according to embodiment once in the data replacement method that provides can realize that the user carries out equation editing the time; Each level all can be pointed out, and then makes that the user can be with the replacement formula step thinning under the prompting of each grade, carries out text with the captions node during this enforcement is listed as and replaces with example and describe; Do not exceed but do not regard it as, concrete:
When the captions node need carry out the text replacement, the user imported the captions node of the first order, and what the first order received is captions node modify instruction, therefore pointed out the vague generalization formula of captions node replacement to be:
CGTEXT=" text " or CGTEXT=Table.Datal;
The user proceeds the input of next stage field information, when the user keys in " C ", will own the field of " C " beginning and list selective; The user selects " CGTEXT " afterwards, add automatically "=", and prompting select " " " " perhaps " tables of data. data name "; If select " " " "; Then formula is CGTEXT=" ", and prompting is the key entry text in the quotation marks " " " ", for example can be CGTEXT=" CCTV ".
As the editor that the user accomplishes above-mentioned formula, also promptly accomplished the data replacement of captions nodes.
In the embodiment of the invention, through each node to the field attribute of needs replacements, attribute and parameter are all carried out the prompting of help information, make things convenient for user's modification, and making data replace can accomplish fast and accurately.
A kind of data alternative is provided in the embodiment of the invention three, and its formation is as shown in Figure 2, and this device comprises:
Command reception unit 21 is used for receiving the modify instruction of scene tree field attribute.
Information indicating unit 22 is used for searching whole operational characters that the field attribute of corresponding field attribute information and the current selection of real-time prompting can be operated according to the field attribute of current selection.
Data are replaced unit 23, are used for calling step by step according to the whole operational characters that can operate nodal information, attribute information and the parameter information of the field attribute needs modification that meets said current selection, carry out the data replacement.
Wherein, optional, this device also comprises:
Information is definition unit 24 in advance; Be used in advance in expandable mark language XML file definition of data Substitution Rules; And with dissimilar field store in dissimilar arrays, in the said XML file storage all field attributes nodal information, attribute information and parameter information.
Further, the said information indicating unit 22 in this device also comprises:
Nodal information prompting subelement 221 is used for whole field informations of pointing out current input node to operate according to the node type of current input.
Field attribute information indicating subelement 222 is used for according to the selected field information prompting of current input node whole field attribute information that this field had.
Parameter information is pointed out subelement 223, is used for pointing out according to the field attribute of current input node whole parameter informations of the field attribute of said current input node.
The present invention passes through each node to the field attribute of needs replacement, and attribute and parameter are all carried out the prompting of help information, make things convenient for user's modification, makes the data replacement to accomplish fast and accurately.
Through the description of above embodiment, those skilled in the art can be well understood to the present invention and can realize through software, also can realize by the mode that software adds necessary general hardware platform.Based on such understanding; Technical scheme of the present invention can be come out with the embodied of software product, this software product can be stored in a non-volatile memory medium (can be CD-ROM, USB flash disk; Portable hard drive etc.) in; Comprise some instructions with so that computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above; Be merely a best specific embodiment of the present invention, but characteristic of the present invention is not limited thereto, any people who is familiar with this technology is in field of the present invention; The variation that can expect easily or modification all should be encompassed in the following claim of the present invention.

Claims (8)

1. the method for data replacement is characterized in that this method comprises:
Receive the modify instruction of field attribute in the scene tree;
Search whole operational characters that the different classes of field attribute of corresponding field attribute information and the said current selection of real-time prompting can be operated according to the field attribute of current selection;
Call nodal information, attribute information and the parameter information of the field attribute needs modification that meets said current selection step by step according to the said whole operational characters that can operate, carry out the data replacement.
2. data replacement method as claimed in claim 1 is characterized in that, this method also comprises:
Definition of data Substitution Rules in the expandable mark language XML file in advance, and dissimilar field attributes is stored in the dissimilar arrays nodal information, attribute information and the parameter information of all field attributes of storage in the said XML file.
3. data replacement method as claimed in claim 2 is characterized in that, canned data also comprises in the said XML file:
The critical field of each character or the explain information of operational character.
4. data replacement method as claimed in claim 1 is characterized in that, the process of whole operational characters that the field attribute of the said current selection of said prompting can be operated specifically comprises:
Whole field informations of pointing out current input node to operate according to the node type of current input;
According to the selected field information prompting of current input node whole field attribute information that this field had;
Point out whole parameter informations of the field attribute of said current input node according to the field attribute of current input node.
5. data replacement method as claimed in claim 1 is characterized in that, whole operational characters that the field attribute of the said current selection of said prompting can be operated realize through data processing aid prompting window.
6. a data alternative is characterized in that, this device comprises:
The command reception unit is used for receiving the modify instruction of scene tree field attribute;
The information indicating unit is used for searching whole operational characters that the different classes of field attribute of corresponding field attribute information and the said current selection of real-time prompting can be operated according to the field attribute of current selection;
Data are replaced the unit, are used for calling step by step according to the said whole operational characters that can operate nodal information, attribute information and the parameter information of the field attribute needs modification that meets said current selection, carry out the data replacement.
7. data alternative as claimed in claim 6 is characterized in that, this device also comprises:
Information is definition unit in advance; Be used in advance in expandable mark language XML file definition of data Substitution Rules; And with dissimilar field store in dissimilar arrays, in the said XML file storage all field attributes nodal information, attribute information and parameter information.
8. data alternative as claimed in claim 6 is characterized in that, said information indicating unit also comprises:
Nodal information prompting subelement is used for whole field informations of pointing out current input node to operate according to the node type of current input;
Field attribute information indicating subelement is used for according to the selected field information prompting of current input node whole field attribute information that this field had;
Parameter information is pointed out subelement, is used for pointing out according to the field attribute of current input node whole parameter informations of the field attribute of said current input node.
CN2011102485291A 2011-08-26 2011-08-26 Method and device for data replacing Pending CN102750265A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102485291A CN102750265A (en) 2011-08-26 2011-08-26 Method and device for data replacing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102485291A CN102750265A (en) 2011-08-26 2011-08-26 Method and device for data replacing

Publications (1)

Publication Number Publication Date
CN102750265A true CN102750265A (en) 2012-10-24

Family

ID=47030461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102485291A Pending CN102750265A (en) 2011-08-26 2011-08-26 Method and device for data replacing

Country Status (1)

Country Link
CN (1) CN102750265A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617297A (en) * 2013-12-18 2014-03-05 用友软件股份有限公司 Method for dynamically supporting XML multiple languages based on XPath
CN105471607A (en) * 2014-09-04 2016-04-06 中国石油化工股份有限公司 Tree-shaped monitoring method for large-scale cluster nodes dynamic information
CN111563118A (en) * 2019-02-14 2020-08-21 桂林电子科技大学 Automatic data entry method and system for acquiring data in real time

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545048A (en) * 2003-11-17 2004-11-10 中兴通讯股份有限公司 Method for implementing tree storage and access by two-dimensional table
CN101211336A (en) * 2006-12-29 2008-07-02 鸿富锦精密工业(深圳)有限公司 Visualized system and method for generating inquiry file
US7426516B1 (en) * 2003-11-24 2008-09-16 Novell, Inc. Mechanism for supporting indexed tagged content in a general purpose data store
CN101739465A (en) * 2010-01-18 2010-06-16 中兴通讯股份有限公司 Establishing method and updating method of management entity file
CN102082934A (en) * 2009-11-30 2011-06-01 新奥特(北京)视频技术有限公司 Caption object updating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1545048A (en) * 2003-11-17 2004-11-10 中兴通讯股份有限公司 Method for implementing tree storage and access by two-dimensional table
US7426516B1 (en) * 2003-11-24 2008-09-16 Novell, Inc. Mechanism for supporting indexed tagged content in a general purpose data store
CN101211336A (en) * 2006-12-29 2008-07-02 鸿富锦精密工业(深圳)有限公司 Visualized system and method for generating inquiry file
CN102082934A (en) * 2009-11-30 2011-06-01 新奥特(北京)视频技术有限公司 Caption object updating method and device
CN101739465A (en) * 2010-01-18 2010-06-16 中兴通讯股份有限公司 Establishing method and updating method of management entity file

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
佚名: "JavaScript文本框下拉提示(自动提示)", 《HTTP://WWW.JB51.NET/ARTICLE/24918.HTM》 *
王智文: "基于XML计算机网络课件的开发与研究", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑(季刊)》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617297A (en) * 2013-12-18 2014-03-05 用友软件股份有限公司 Method for dynamically supporting XML multiple languages based on XPath
CN105471607A (en) * 2014-09-04 2016-04-06 中国石油化工股份有限公司 Tree-shaped monitoring method for large-scale cluster nodes dynamic information
CN111563118A (en) * 2019-02-14 2020-08-21 桂林电子科技大学 Automatic data entry method and system for acquiring data in real time
CN111563118B (en) * 2019-02-14 2023-09-12 桂林电子科技大学 Automatic data input method and system for obtaining data in real time

Similar Documents

Publication Publication Date Title
CN103956081A (en) Distance teaching method and device based on cloud platform
US10229111B1 (en) Sentence compression using recurrent neural networks
CN104933084A (en) Method, apparatus and device for acquiring answer information
US10783885B2 (en) Image display device, method for driving the same, and computer readable recording medium
KR102015235B1 (en) Path Lookup Methods, Apparatus, Devices, and Nonvolatile Computer Storage Media
CN104951456A (en) Method, device and equipment used for obtaining answer information
Parvez Development in library services with the advent of ICT based products & services: a continuous process
CN112286601B (en) User interface display method and device
JP6756744B2 (en) Location information provision method and equipment
CN111309872B (en) Search processing method, device and equipment
CN102750265A (en) Method and device for data replacing
KR101194296B1 (en) Method and system for provide related keyword
CN106161656B (en) Interface jumping method and device
KR102252981B1 (en) Lecture contents creating method based on online platform
US20140136206A1 (en) Mash-up service generation apparatus and method based on voice command
CN104021201A (en) Data conversion method and device
KR101626756B1 (en) System and method for providing extensible technology/path search service
CN105991400B (en) Group searching method and device
CN107329730B (en) Voice prompt message generation method and device
CN113626722A (en) Public opinion guiding method, device, equipment and computer readable storage medium
KR20160053464A (en) Method for collecting and providing learning contents via social learning, and user device and social learning server therefor
CN111368099B (en) Method and device for generating core information semantic graph
CN103139379A (en) Location method and location device of listing interface
CN109426570A (en) A kind of acquisition methods of data, device and equipment
CN106407415A (en) A search method and device based on a calendar application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20121024

RJ01 Rejection of invention patent application after publication