CN106648338B - Method and device for editing data - Google Patents
Method and device for editing data Download PDFInfo
- Publication number
- CN106648338B CN106648338B CN201510729755.XA CN201510729755A CN106648338B CN 106648338 B CN106648338 B CN 106648338B CN 201510729755 A CN201510729755 A CN 201510729755A CN 106648338 B CN106648338 B CN 106648338B
- Authority
- CN
- China
- Prior art keywords
- entity data
- attribute information
- data
- editing
- interface
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a method and a device for editing data, wherein the method comprises the following steps: acquiring recorded entity data from a server; drawing a display interface, and displaying the acquired entity data on the display interface; responding to a display instruction, and selecting one or more entity data on a display interface; drawing an editing interface, and inputting the attribute information of the entity data in the editing interface so as to modify the attribute information of the selected at least one entity data; and sending the entity data with the modified attribute information to a server for recording. In the technical scheme of the invention, the single modification and batch modification modes of the entity data are unified, so that the modification of the entity data by a user is simpler and more convenient.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for editing data.
Background
There are a large number of software today that use either the C/S or B/S architecture, in both of which users can do data viewing and modification work. In these two types of software, data is generally stored in a server, so a client or a browser needs to obtain the data from the server through a network for presentation. The data modification function is generally based on a data viewing function, a large amount of time is wasted for single modification of data, software generally has a batch modification function, but the single modification usually allows modification of each attribute of single entity data, and the batch modification only allows modification of a single attribute of a plurality of entity data, and the difference between the single attribute and the batch modification is large, so that the single modification and the batch modification are separately developed and are also separated in use, a user needs to adapt to two modification modes of the single modification and the batch modification, the learning cost of the user is increased, and the inconvenience in operation of the user is caused.
Disclosure of Invention
In view of the above, the present invention has been made to provide a method and apparatus for editing data that overcomes or at least partially solves the above-mentioned problems.
According to an aspect of the present invention, there is provided a method of editing data, comprising: acquiring recorded entity data from a server; drawing a display interface, and displaying the acquired entity data on the display interface; responding to a display instruction, and selecting one or more entity data on the display interface; drawing an editing interface, and inputting the attribute information of the entity data in the editing interface so as to modify the attribute information of the selected at least one entity data; and sending the entity data with the modified attribute information to the server for recording.
Optionally, the method for editing data further includes: displaying a check box corresponding to the acquired entity data on the display interface, wherein the check box is used for receiving the display command and triggering the checking of the one or more entity data.
Optionally, the method for editing data further includes: and judging whether the selected entity data are multiple, comparing whether the values of the attributes of the multiple entity data are the same or not when the selected entity data are multiple, and displaying the comparison result on the editing interface.
Optionally, the method for editing data, drawing an editing interface, specifically includes: and setting a plurality of input controls corresponding to the attributes of the one or more entity data on the editing interface, wherein the plurality of input controls are used for inputting the attribute information of the entity data.
Optionally, the method for editing data modifies attribute information of the selected at least one entity data, and specifically includes: and when the selected entity data is multiple, the attribute information input in each input control is used for uniformly modifying the corresponding attribute information of the multiple entity data.
According to another aspect of the present invention, there is provided an apparatus for editing data, including: the entity data acquisition module is used for acquiring the recorded entity data from the server; the display interface module is used for drawing a display interface and displaying the acquired entity data on the display interface; the selection module is used for responding to a display instruction and selecting one or more entity data on the display interface; the editing interface module is used for drawing an editing interface, and inputting the attribute information of the entity data in the editing interface so as to modify the attribute information of the selected at least one entity data; and the sending module is used for sending the entity data of the modified attribute information to the server for recording.
Optionally, in the apparatus for editing data, the display interface module further displays a check box corresponding to the acquired entity data on the display interface, where the check box is configured to receive the display command and trigger checking of the one or more entity data.
Optionally, in the apparatus for editing data, the editing interface module further determines whether the selected entity data is multiple, compares whether values of respective attributes of the multiple entity data are the same when the selected entity data is multiple, and displays a comparison result on the editing interface.
Optionally, in the apparatus for editing data, the editing interface module sets a plurality of input controls corresponding to respective attributes of the one or more entity data on the editing interface, where the plurality of input controls are used to input attribute information of the entity data.
Optionally, in the apparatus for editing data, when a plurality of selected entity data are provided, the attribute information input in each input control is used to modify corresponding attribute information of the plurality of entity data in a unified manner.
According to the above technical solution, the method and apparatus for editing data of the present invention have at least the following advantages:
according to the technical scheme of the invention, after the entity data is acquired from the server and displayed, a user can select single entity data or multiple entity data, and the user can provide the same editing interface for editing the attribute information of the single entity data or the multiple entity data no matter whether the user selects the single entity data or the multiple entity data.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a flow diagram of a method of editing data according to one embodiment of the invention;
FIG. 2 illustrates an effect diagram of a method of editing data according to one embodiment of the invention;
FIG. 3 shows a flow diagram of a method of editing data according to one embodiment of the invention;
FIG. 4 illustrates an effect diagram of a method of editing data according to one embodiment of the invention;
fig. 5 shows a block diagram of an apparatus for editing data according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a method for editing data, including:
and step 110, acquiring the recorded entity data from the server. The technical scheme of the embodiment can be realized at a browser end or a client end corresponding to the service end, namely a B/S structure or a C/S structure; the server records the entity data usually by means of a database table.
In step 130, one or more entity data are selected on the display interface in response to the display instruction.
And 150, sending the entity data of the modified attribute information to the server for recording. In the technical scheme of the embodiment, the client or the browser transmits the modified entity data to the server, and the server modifies the data to be modified according to the data.
As shown in fig. 3, an embodiment of the present invention provides a method for editing data, including:
And step 320, drawing a display interface, and displaying the acquired entity data on the display interface.
And 340, drawing an editing interface, and inputting the attribute information of the entity data in the editing interface so as to modify the attribute information of the selected at least one entity data.
And step 360, sending the entity data of the modified attribute information to the server for recording.
As shown in fig. 5, an embodiment of the present invention provides an apparatus for editing data, including:
and an entity data obtaining module 510, which obtains the recorded entity data from the server. The technical scheme of the embodiment can be realized at a browser end or a client end corresponding to the service end, namely a B/S structure or a C/S structure; the server records the entity data usually by means of a database table.
A display interface module 520, which draws a display interface and displays the obtained entity data on the display interface; and displaying a check box corresponding to the acquired entity data on the display interface, wherein the check box is used for receiving a display command and triggering the checking of one or more entity data. In this embodiment, the check box may be selected as shown in fig. 2, and the display command is a check operation on the check box.
The selection module 530, in response to the display instruction, selects one or more entity data on the display interface.
The editing interface module 540 is used for drawing an editing interface, and inputting the attribute information of the entity data on the editing interface so as to modify the attribute information of the selected at least one entity data; the editing method comprises the following steps that a plurality of input controls corresponding to attributes of one or more entity data are arranged on an editing interface, and attribute information of the entity data is input in the input controls; and when the selected entity data is multiple, the attribute information input in each input control is used for uniformly modifying the corresponding attribute information of the multiple entity data. In this embodiment, the input control is usually in the form of an input box, and the attribute information includes specific values, characters, and the like of the attribute. In this embodiment, it can be seen that no matter a user selects one entity data or a plurality of entity data, a uniform editing interface is provided for the user to modify the attribute information of the entity data, and the user only needs to adapt to the operation mode of the editing interface, which reduces the learning cost of the user; when a user selects a plurality of entity data to modify in batch, the user inputs a single item of information corresponding to a certain attribute on an editing interface, so that the corresponding attribute information in the selected plurality of entity data can be modified in a unified manner, and for other attributes of which the user does not input information, the plurality of entity data still keep the original attribute information of the plurality of entity data.
And the sending module 550 sends the entity data of the modified attribute information to the server for recording. In the technical scheme of the embodiment, the client or the browser transmits the modified entity data to the server, and the server modifies the data to be modified according to the data.
As shown in fig. 5, an embodiment of the present invention provides an apparatus for editing data, including:
and an entity data obtaining module 510, which obtains the recorded entity data from the server.
And a display interface module 520 for drawing a display interface and displaying the acquired entity data on the display interface.
The selection module 530, in response to the display instruction, selects one or more entity data on the display interface.
The editing interface module 540 is used for drawing an editing interface, and inputting the attribute information of the entity data on the editing interface so as to modify the attribute information of the selected at least one entity data; and judging whether the selected entity data are multiple, comparing whether the values of the attributes of the multiple entity data are the same or not when the selected entity data are multiple, and displaying the comparison result on an editing interface. In this embodiment, it is necessary to verify whether one or more entity data to be edited is present; if the data is single entity data, directly setting attribute information of the data according to user input; if the data is a plurality of entity data, comparing the attribute information of the entity data, if some attribute information of the entity data is completely the same, adding original attribute information to the position for inputting the attribute information on the editing interface and displaying the same character, and if some attribute information of the entity data is not completely the same, leaving blank at the position for inputting the attribute information on the editing interface and displaying different characters, as shown in fig. 4, so that a user can visually know the attribute information of the entity data.
And the sending module 550 sends the entity data of the modified attribute information to the server for recording.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of an apparatus for editing data according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
Claims (8)
1. A method of editing data, comprising:
acquiring recorded entity data from a server;
drawing a display interface, and displaying the acquired entity data on the display interface;
responding to a display instruction, and selecting one or more entity data on the display interface;
drawing an editing interface, inputting the attribute information of the entity data in the editing interface to modify the attribute information of the selected at least one entity data, and specifically comprising the following steps: setting a plurality of input controls corresponding to the attributes of the one or more entity data on the editing interface, wherein the input controls are used for inputting the attribute information of the entity data;
judging whether the selected entity data is multiple, comparing whether the values of the attributes of the multiple entity data are the same or not when the selected entity data is multiple, and displaying the comparison result on the editing interface, wherein the method specifically comprises the following steps: comparing the attribute information of the entity data, if the attribute information corresponding to the same attribute of the entity data is completely the same, adding original attribute information to the position for inputting the attribute information corresponding to the same attribute on the editing interface and displaying the same character, and if the attribute information corresponding to the same attribute of the entity data is not completely the same, leaving a blank in the position for inputting the attribute information corresponding to the same attribute on the editing interface and displaying different characters;
and sending the entity data with the modified attribute information to the server for recording.
2. The method of editing data as recited in claim 1, further comprising:
displaying a check box corresponding to the acquired entity data on the display interface, wherein the check box is used for receiving the display command and triggering the checking of the one or more entity data.
3. The method for editing data according to claim 1, wherein modifying the attribute information of the selected at least one entity data specifically comprises:
and when the selected entity data is multiple, the attribute information input in each input control is used for uniformly modifying the corresponding attribute information of the multiple entity data.
4. An apparatus for editing data, comprising:
the entity data acquisition module is used for acquiring the recorded entity data from the server;
the display interface module is used for drawing a display interface and displaying the acquired entity data on the display interface;
the selection module is used for responding to a display instruction and selecting one or more entity data on the display interface;
the editing interface module is used for drawing an editing interface, and inputting the attribute information of the entity data in the editing interface so as to modify the attribute information of the selected at least one entity data;
the editing interface module is used for setting a plurality of input controls corresponding to the attributes of the entity data on the editing interface, wherein the input controls are used for inputting the attribute information of the entity data;
the editing interface module further determines whether the selected entity data is multiple, compares whether values of attributes of the multiple entity data are the same when the selected entity data is multiple, and displays a comparison result on the editing interface, including: comparing the attribute information of the entity data, if the attribute information corresponding to the same attribute of the entity data is completely the same, adding original attribute information to the position for inputting the attribute information corresponding to the same attribute on the editing interface and displaying the same character, and if the attribute information corresponding to the same attribute of the entity data is not completely the same, leaving a blank in the position for inputting the attribute information corresponding to the same attribute on the editing interface and displaying different characters;
and the sending module is used for sending the entity data of the modified attribute information to the server for recording.
5. The apparatus for editing data as recited in claim 4,
the display interface module is also used for displaying a check box corresponding to the acquired entity data on the display interface, wherein the check box is used for receiving the display command and triggering the check of the one or more entity data.
6. The apparatus for editing data as recited in claim 4,
and when the editing interface module selects a plurality of entity data, the attribute information input in each input control is used for uniformly modifying the corresponding attribute information of the entity data.
7. A storage medium, comprising a stored program, wherein when the program is executed, a device in which the storage medium is located is controlled to execute the method for editing data according to any one of claims 1 to 3.
8. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of editing data according to any one of claims 1 to 3.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510729755.XA CN106648338B (en) | 2015-10-30 | 2015-10-30 | Method and device for editing data |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510729755.XA CN106648338B (en) | 2015-10-30 | 2015-10-30 | Method and device for editing data |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN106648338A CN106648338A (en) | 2017-05-10 |
| CN106648338B true CN106648338B (en) | 2020-10-09 |
Family
ID=58809697
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510729755.XA Expired - Fee Related CN106648338B (en) | 2015-10-30 | 2015-10-30 | Method and device for editing data |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106648338B (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6766779B2 (en) | 2017-08-25 | 2020-10-14 | オムロン株式会社 | User interface development support device, user interface development support method, and user interface development support program |
| WO2019071416A1 (en) * | 2017-10-10 | 2019-04-18 | 深圳传音通讯有限公司 | Data management method, terminal and computer readable medium |
| CN113724894B (en) * | 2021-09-01 | 2023-12-29 | 千乘镜像(北京)科技有限公司 | Method and device for analyzing ultrastructural pathology data and electronic equipment |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101021865A (en) * | 2007-03-23 | 2007-08-22 | 上海汉光知识产权数据科技有限公司 | Data search results displaying method and display system |
| CN104536997A (en) * | 2014-12-12 | 2015-04-22 | 北京国双科技有限公司 | Method and device for data batch processing of client interface |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8635177B2 (en) * | 2009-08-17 | 2014-01-21 | Adobe Systems Incorporated | Rule-based binding |
-
2015
- 2015-10-30 CN CN201510729755.XA patent/CN106648338B/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101021865A (en) * | 2007-03-23 | 2007-08-22 | 上海汉光知识产权数据科技有限公司 | Data search results displaying method and display system |
| CN104536997A (en) * | 2014-12-12 | 2015-04-22 | 北京国双科技有限公司 | Method and device for data batch processing of client interface |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106648338A (en) | 2017-05-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107506193B (en) | Development method of subsystem pages, storage medium and server | |
| CN107705151B (en) | Display method and device for advertising regulation | |
| CN107729475B (en) | Webpage element acquisition method, device, terminal and computer-readable storage medium | |
| CN106933887B (en) | Data visualization method and device | |
| US10152539B2 (en) | Webpage searching method and browser | |
| CN111580788B (en) | Template collocation information recommendation method and device and electronic equipment | |
| CN107704282B (en) | Loading method and device applied to embedded system | |
| CN106648568B (en) | Method and device for adding check box on table | |
| CN110515929B (en) | Book display method, computing device and storage medium | |
| US20150120508A1 (en) | Purchasing Systems and Methods | |
| CN111857674A (en) | Business product generation method and device, electronic equipment and readable storage medium | |
| CN110806916A (en) | Method and system for realizing individual login page of each tenant of SAAS platform | |
| JP6438565B2 (en) | Information search method and information search apparatus | |
| CN106648338B (en) | Method and device for editing data | |
| EP3009900A1 (en) | Dynamic recommendation of elements suitable for use in an engineering configuration | |
| US20170337286A1 (en) | Search result optimizing method, search engine, an apparatus and non-volatile computer storage medium | |
| CN114115864A (en) | Interface generation method and device and electronic equipment | |
| CN113656326A (en) | Program testing method, program testing device, computer system and storage medium | |
| EP3454207B1 (en) | Dynamic preview generation in a product lifecycle management environment | |
| US20160358352A1 (en) | Information generation system, method, and computer program product | |
| US11651143B2 (en) | Information processing apparatus, system, information processing method, and computer-readable storage medium for storing programs | |
| CN112035106A (en) | Multi-platform synchronization method, device, medium and electronic equipment for homologous data | |
| CN112711709B (en) | Method and device for presenting resource information page | |
| US8245020B1 (en) | Creating a partial instance of component in response to user specifying a value for a dynamic attribute of a selected component | |
| CN105787754B (en) | Advertisement inventory visualization method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: BEIJING GRIDSUM TECHNOLOGY Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201009 |