CN105843600A - Data editing method, apparatus and system - Google Patents
Data editing method, apparatus and system Download PDFInfo
- Publication number
- CN105843600A CN105843600A CN201610113304.8A CN201610113304A CN105843600A CN 105843600 A CN105843600 A CN 105843600A CN 201610113304 A CN201610113304 A CN 201610113304A CN 105843600 A CN105843600 A CN 105843600A
- Authority
- CN
- China
- Prior art keywords
- preset interface
- set list
- interface function
- class
- information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a data editing method, apparatus, and system, and relates to the technical field of information. When a user employs an online cloud editor, services and tools provided by a back-end server are prompted for the user. The method includes steps of sending an asynchronous obtaining request of a preset list to the server so that the server obtains the preset list corresponding to the asynchronous obtaining request, wherein the preset list stores preset interface functions corresponding to different kinds of tools or interfaces; receiving the preset list sent by the server and storing the preset list; and obtaining and displaying the preset interface function matched with editing information in a fuzzy manner from the preset list when the editing information inputted by the user is received so that the user selects one preset interface function for calling from the preset interface functions.
Description
Technical field
The present invention relates to areas of information technology, particularly relate to a kind of data editing method, Apparatus and system.
Background technology
Along with the development of information technology, online cloud editing machine is widely used.Online
Cloud editing machine be a kind of browser IDE (Integrated Development Environment, collection
IDE), be provided that the code being similar to local ident E is highlighted, code prompting, miscue,
The functions such as auto-complete, are saved in far-end server by content simultaneously, can revise editor whenever and wherever possible,
Install and configuration surroundings without downloading client.
At present, some online cloud editing machines have been there are, using the teaching of the invention it is possible to provide a lot of merits of local ident E
Energy.These online cloud editing machines can carry out some tag-syntax promptings and auxiliary input, and gives
The online cloud editing machine that front end provides is mainly used in writing the template of item view layer.User is using
It is frequently necessary to know which back-end server provides the when of cloud editing machine editor's front-end template of line
Service and which instrument, but the most online cloud editing machine is limited only to the prompting of code syntax.
Summary of the invention
Embodiments provide a kind of data editing method, Apparatus and system, in order to solve existing skill
In art, user is using online cloud editing machine when, it is impossible to point out back-end server to be provided by user
Service and the problem of instrument.
The problem existed for prior art, embodiments provides a kind of data editing method, bag
Include:
The asynchronous acquisition request of pre-set list is sent, so that described server obtains with described to server
Asynchronous obtain the pre-set list that request is corresponding, wherein, described pre-set list is preserved different tool-class or
The preset interface function that interface class is the most corresponding;
Receive the described pre-set list of described server transmission and store;
When receiving editor's information of user's input, obtain from described pre-set list and described editor's letter
Cease the preset interface function of fuzzy matching and show, in order to user selects from described preset interface function
Select a preset interface function to call.
Embodiments provide another kind of data editing method, including:
Receive the asynchronous acquisition request of the pre-set list that client sends;
Obtain and ask corresponding pre-set list with described asynchronous acquisition, wherein, described pre-set list preserves
There is the preset interface function of different tool-class or interface class correspondence respectively;
Described pre-set list is sent to described client, so that when described client receives user's input
Editor's information time, from described pre-set list, obtain the preset interface that mates with described editor's information fuzzy
Function also shows, in order to user selects a preset interface function to enter from described preset interface function
Row calls.
Embodiments provide a kind of client, including:
Transmitting element, for sending the asynchronous acquisition request of pre-set list to server, so that described clothes
Business device obtains asks corresponding pre-set list with described asynchronous acquisition, wherein, preserves in described pre-set list
There is the preset interface function of different tool-class or interface class correspondence respectively;
Receive unit, for receiving the described pre-set list that described server sends;
Memory element, stores for the pre-set list receiving described reception unit;
Acquiring unit, for when receiving editor's information of user's input, storing from described memory element
Pre-set list in obtain the preset interface function that mates with described editor's information fuzzy;
Display unit, for showing the preset interface function that described acquiring unit obtains, in order to user is from institute
State and preset interface function selects a preset interface function call.
Embodiments provide a kind of server, including:
Receive unit, for receiving the asynchronous acquisition request of the pre-set list that client sends;
Acquiring unit, asks corresponding pre-set list for obtaining with described asynchronous acquisition, wherein, described
Pre-set list is preserved different tool-class or the preset interface function of interface class correspondence respectively;
Transmitting element, for sending described pre-set list to described client, so that when described client
When receiving editor's information of user's input, obtain and described editor's information fuzzy from described pre-set list
Coupling preset interface function and show, in order to user selects one from described preset interface function
Preset interface function calls.
Embodiments provide a kind of data editing system, including: client and server;
Described server, for receiving the asynchronous acquisition request of the pre-set list that described client sends;Obtain
Take and ask corresponding pre-set list with described asynchronous acquisition, wherein, described pre-set list preserves difference
The preset interface function of tool-class or interface class correspondence respectively;Described pre-set list is sent to described client;
Described client, for receiving the described pre-set list of described server transmission and storing;When
When receiving editor's information of user's input, obtain and described editor's information fuzzy from described pre-set list
Coupling preset interface function and show, in order to user selects one from described preset interface function
Preset interface function calls.
A kind of data editing method of embodiment of the present invention offer, Apparatus and system, first from server
Obtain and preserve different tool-class or the pre-set list of the interface class preset interface function of correspondence respectively, when connecing
When receiving editor's information of user's input, obtain and described editor's information fuzzy from described pre-set list
The preset interface function joined also shows, in order to user select from described preset interface function one pre-
Put interface function to call, compared with prior art, it is possible to achieve user is using online cloud editor
The when of device, point out, by user, the service and instrument that back-end server provided, it is possible to the most detailed makes
User knows which functional based method is server background provide, and the use of method describes, and can be fast
Fast-growing becomes the foundation code called, makes front and back end preferably connect cooperation, and then can be implemented in the cloud of line
Editing machine is well combined cooperation with server back end.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under,
Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art,
On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
A kind of data editing method schematic flow sheet that Fig. 1 provides for the embodiment of the present invention;
The another kind of data editing method schematic flow sheet that Fig. 2 provides for the embodiment of the present invention;
Another data editing method schematic flow sheet that Fig. 3 provides for the embodiment of the present invention;
A kind of client terminal structure schematic diagram that Fig. 4 provides for the embodiment of the present invention;
The another kind of client terminal structure schematic diagram that Fig. 5 provides for the embodiment of the present invention;
A kind of server architecture schematic diagram that Fig. 6 provides for the embodiment of the present invention;
A kind of server architecture schematic diagram that Fig. 7 provides for the embodiment of the present invention;
A kind of data editing system structural representation that Fig. 8 provides for the embodiment of the present invention;
The entity structure schematic diagram of a kind of server that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this
Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention,
Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on
Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise
The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiments provide a kind of data editing method, can apply to client, such as Fig. 1 institute
Showing, described method includes:
101, the asynchronous acquisition request of pre-set list is sent to server.
Further, so that described server obtains asks corresponding pre-set list with described asynchronous acquisition,
And send to client.Wherein, described pre-set list is preserved different tool-class or interface class is the most right
The preset interface function answered.Described asynchronous acquisition request is used for obtaining pre-set list.Described preset interface letter
Number can configure according to the actual requirements.
Specifically, for the embodiment of the present invention, can be by calling the http interface being pre-configured with, to clothes
Business device sends the asynchronous acquisition request of pre-set list.
102, receive the pre-set list of server transmission and store.
For the embodiment of the present invention, the pre-set list of reception can be buffered in this locality, so as in time
Call.
Such as, open online cloud editing machine, i.e. machine side in a browser when user side and receive this
During the enabled instruction of cloud editing machine, cloud editing machine initializes, it is possible to be pre-configured with by calling
Http interface, sends the asynchronous acquisition request of pre-set list, and then can acquire and comprise to server
The pre-set list of different tool-class or the interface class preset interface function of correspondence respectively, and store it in this
Ground is so as to call in time.
103, when receiving editor's information of user's input, obtain from pre-set list and edit information mould
Stick with paste the preset interface function of coupling and show.
Further, in order to user selects a preset interface function to enter from described preset interface function
Row calls.
Such as, when editor's information of user's input is ge, can be by ge and the preset row being buffered in this locality
In table, each preset interface function carries out fuzzy matching, then shows which tool-class what ge started has or connect
The mark of the preset interface function of mouth class and the functional based method of correspondence describe.Here use can be shown
The preset interface functions such as getIssue Time.
A kind of data editing method that the embodiment of the present invention provides, first obtains from server and preserves not
With tool-class or the pre-set list of the interface class preset interface function of correspondence respectively, when receiving user's input
Editor's information time, from described pre-set list, obtain the preset interface that mates with described editor's information fuzzy
Function also shows, in order to user selects a preset interface function to enter from described preset interface function
Row calls, compared with prior art, it is possible to achieve user using online cloud editing machine when, for
User points out the service and instrument that back-end server provided, it is possible to the most detailed user that makes knows service
Which functional based method device backstage provides, and the use of method describes, and can quickly generate and call
Foundation code, makes front and back end preferably connect cooperation, and then can be implemented in cloud editing machine and the service of line
Device rear end well combines cooperation.
Embodiments provide another kind of data editing method, can apply to client, such as Fig. 2
Shown in, described method includes:
201, the asynchronous acquisition request of pre-set list is sent to server.
Further, so that described server obtains asks corresponding pre-set list with described asynchronous acquisition,
Wherein, described pre-set list is preserved different tool-class or the preset interface function of interface class correspondence respectively.
Specifically, pre-set list can be sent by calling the http interface being pre-configured with to server
Asynchronous acquisition is asked.
202, receive the pre-set list of server transmission and store.
Such as, when user open online cloud editing machine need to carry out editing data time, i.e. machine side according to
The enabled instruction of this cloud editing machine received, cloud editing machine carries out initialized while, by advance
The http interface of configuration, sends the asynchronous acquisition request of pre-set list to server, and acquisition request comprises not
With tool-class or the pre-set list of the interface class preset interface function of correspondence respectively, preset acquiring this
After list, store it in this locality so as to call in time.
203, when receiving editor's information of user's input, whether detection pre-set list exists and editor
The preset interface function of information fuzzy coupling.
Such as, when editor's information of user's input is ab, can be by ab and the preset row being buffered in this locality
Whether in table, each preset interface function carries out fuzzy matching, according to matching result, determine in pre-set list
There is tool-class or the preset interface function of interface class of ab beginning.
If 204a pre-set list existing the preset interface function mated with editor's information fuzzy, then from advance
Put and list obtains and edits preset interface function that information fuzzy mates and show.
Such as, when editor's information of user's input is ab, and it has been determined that pre-set list exists ab
When the tool-class of beginning or the preset interface function of interface class, show the mark of these preset interface functions with
And the most corresponding functional based method describes.
205a, when receiving calling of a preset interface function that user selects from preset interface function
During instruction, the preset interface function selecting user calls.
Such as, user can select to need the preset interface function of use, machine side joint by click
Receiving corresponding call instruction, the preset interface function selecting user calls, and generates relevant calling
Code.
Mate with editor's information fuzzy if the step 204b pre-set list arranged side by side with step 204a does not exist
Preset interface function, then export information.
Wherein, there is not, for prompting, mate with described editor's information fuzzy preset and connect in described information
Mouth function.Described information can be text prompt information, picture prompting information, audio prompt information,
Visual prompts information etc..
If it should be noted that pre-set list not existing the preset interface letter mated with editor's information fuzzy
Number, by output information, it is possible to use editor's information that family is clearly currently entered is at background server
In there is not corresponding preset interface function, in order to user adjust corresponding editor's information input, Ke Yizeng
The experience of strong user.
The another kind of data editing method that the embodiment of the present invention provides, first obtains from server and preserves
The pre-set list of different tool-class or the interface class preset interface function of correspondence respectively, defeated when receiving user
During the editor's information entered, from described pre-set list, obtain preset connecing of mating with described editor's information fuzzy
Mouth function also shows, in order to user selects a preset interface function from described preset interface function
Call, compared with prior art, it is possible to achieve user using online cloud editing machine when,
The service and instrument that back-end server provided is pointed out, it is possible to the most detailed user that makes knows clothes by user
Which functional based method business device backstage provides, and the use of method describes, and can quickly generate and call
Foundation code, make front and back end preferably connect cooperation, and then can be implemented in cloud editing machine and the clothes of line
Business device rear end well combines cooperation.
Embodiments provide another data editing method, can apply to server, such as Fig. 3
Shown in, described method includes:
301, the asynchronous acquisition request of the pre-set list that client sends is received.
For the embodiment of the present invention, before described step 301, it is also possible to including: anti-by default Java
Penetrating acquisition function, from configuration file, reflection acquires different tool-class or interface class distinguishes the pre-of correspondence
Put interface function and be saved in described pre-set list, wherein, described configuration file being preserved different work
The class.path information of tool class or interface class correspondence respectively and relevant description information.Described default Java is anti-
Penetrate acquisition function and can be write and be stored in an ad-hoc location in advance by technical staff so as in time
Call.
Specifically, one configuration file of server maintenance, such as, configuration file can be tool.xml.Join
Put and file is preserved the data list formatted, mainly include the work being supplied to online cloud editing machine
Tool class or the class.path of interface class, and relevant description information.Such as, permissible for a tool-class
Define the attribute informations such as its key, scope, class, description.
Further, server can determine such by class class.path, and apoplexy due to endogenous wind comprises the most concrete
Interface function method, utilizes and presets Java reflection acquisition function, obtain the interface function method that apoplexy due to endogenous wind is concrete
With the biography of method ginseng and self-defining annotating information, this annotating information is mainly used in the tool of description method
Body occupation mode, generates preset interface function according to these information acquired and is saved in pre-set list
In, and a http interface can be provided for client call, in order to client is by calling this http
Interface, sends the asynchronous acquisition request of pre-set list to server.
302, the pre-set list corresponding with asynchronous acquisition request is obtained.
Wherein, described pre-set list is preserved different tool-class or the preset interface of interface class correspondence respectively
Function.
303, pre-set list is sent to client.
Further, so that when described client receives editor's information of user's input, from described
Pre-set list obtains the preset interface function mated with described editor's information fuzzy and shows, in order to
User selects a preset interface function to call from described preset interface function.Specifically, permissible
Describe accordingly with reference in step 103, do not repeat them here.
Another data editing method that the embodiment of the present invention provides, first obtains from server and preserves
The pre-set list of different tool-class or the interface class preset interface function of correspondence respectively, defeated when receiving user
During the editor's information entered, from described pre-set list, obtain preset connecing of mating with described editor's information fuzzy
Mouth function also shows, in order to user selects a preset interface function from described preset interface function
Call, compared with prior art, it is possible to achieve user using online cloud editing machine when,
The service and instrument that back-end server provided is pointed out, it is possible to the most detailed user that makes knows clothes by user
Which functional based method business device backstage provides, and the use of method describes, and can quickly generate and call
Foundation code, make front and back end preferably connect cooperation, and then can be implemented in cloud editing machine and the clothes of line
Business device rear end well combines cooperation.
Further, as implementing of method described in Fig. 1, embodiments provide a kind of visitor
Family end, as shown in Figure 4, described client includes: transmitting element 41, reception unit 42, memory element
43, acquiring unit 44, display unit 45.
Described transmitting element 41, may be used for sending the asynchronous acquisition request of pre-set list to server.Institute
State the service-oriented device of transmitting element 41.
Further, so that described server obtains asks corresponding pre-set list with described asynchronous acquisition,
Wherein, described pre-set list is preserved different tool-class or the preset interface function of interface class correspondence respectively.
Described reception unit 42, may be used for receiving the described pre-set list that described server sends.Described
Receive the service-oriented device of unit 42, for receiving the main functional modules of pre-set list.
Described memory element 43, the pre-set list that may be used for receiving described reception unit 42 is deposited
Storage.
Described acquiring unit 44, may be used for, when receiving editor's information of user's input, depositing from described
The pre-set list of storage unit 43 storage obtains the preset interface function mated with described editor's information fuzzy.
Described acquiring unit 44 is the main functional modules obtaining preset interface function.
Described display unit 45, is displayed for the preset interface function that described acquiring unit 44 obtains.
Described display unit 45 is the main functional modules showing preset interface function.
Further, in order to user selects a preset interface function to enter from described preset interface function
Row calls.
It should be noted that its of each functional unit involved by a kind of client of embodiment of the present invention offer
He describes accordingly, the corresponding description being referred in Fig. 1, does not repeats them here.
A kind of client that the embodiment of the present invention provides, first obtains from server and preserves different instrument
The pre-set list of class or the interface class preset interface function of correspondence respectively, as the editor receiving user's input
During information, from described pre-set list, obtain the preset interface function mated with described editor's information fuzzy also
Show, in order to user selects a preset interface function to call from described preset interface function,
Compared with prior art, it is possible to achieve user, using online cloud editing machine when, points out for user
Service that back-end server is provided and instrument, it is possible to the most detailed make user know server background carries
For which functional based method, and the use of method describes, and can quickly generate the foundation code called,
Make front and back end preferably connect cooperation, and then the cloud editing machine that can be implemented in line is fine with server back end
Combination cooperation.
Further, as implementing of method described in Fig. 2, another kind is embodiments provided
Client, as it is shown in figure 5, described client includes: transmitting element 51, reception unit 52, storage list
Unit 53, acquiring unit 54, display unit 55.
Described transmitting element 51, may be used for sending the asynchronous acquisition request of pre-set list to server.Institute
State the service-oriented device of transmitting element 51.
Further, so that described server obtains asks corresponding pre-set list with described asynchronous acquisition,
Wherein, described pre-set list is preserved different tool-class or the preset interface function of interface class correspondence respectively.
Described reception unit 52, may be used for receiving the described pre-set list that described server sends.Described
Receive the service-oriented device of unit 52, for receiving the main functional modules of pre-set list.
Described memory element 53, the pre-set list that may be used for receiving described reception unit 52 is deposited
Storage.
Described acquiring unit 54, may be used for, when receiving editor's information of user's input, depositing from described
The pre-set list of storage unit 53 storage obtains the preset interface function mated with described editor's information fuzzy.
Described acquiring unit 54 is the main functional modules obtaining preset interface function.
Described display unit 55, is displayed for the preset interface function that described acquiring unit 54 obtains.
Described display unit 55 is the main functional modules showing preset interface function.
Further, in order to user selects a preset interface function to enter from described preset interface function
Row calls.
Further, described client also includes: call unit 56.
Described call unit 56, may be used for when receiving what user selected from described preset interface function
During the call instruction of one preset interface function, a preset interface function of described selection is called.
Further, described client also includes: detector unit 57 and output unit 58.
Described detector unit 57, may be used for detecting in described pre-set list whether exist and described editor letter
The preset interface function of breath fuzzy matching.
Described output unit 58, detects in described pre-set list if may be used for described detector unit 57
There is not the preset interface function mated with described editor's information fuzzy, then export information, described in carry
Show that information does not exist, for prompting, the preset interface function mated with described editor's information fuzzy.
Described acquiring unit 54, if specifically may be used for described detector unit 57 to detect described preset row
Table exists the preset interface function mated with described editor's information fuzzy, then obtains from described pre-set list
Take the preset interface function mated with described editor's information fuzzy.
It should be noted that each functional unit involved by the another kind of client of embodiment of the present invention offer
Other describe accordingly, the corresponding description being referred in Fig. 2, do not repeat them here.
The another kind of client that the embodiment of the present invention provides, first obtains from server and preserves different work
The pre-set list of tool class or the interface class preset interface function of correspondence respectively, when the volume receiving user's input
During the information of collecting, from described pre-set list, obtain the preset interface function mated with described editor's information fuzzy
And show, in order to user selects a preset interface function to adjust from described preset interface function
With, compared with prior art, it is possible to achieve user is using online cloud editing machine when, for user
The prompting service that provided of back-end server and instrument, it is possible to the most detailed make user know server after
Which functional based method platform provides, and the use of method describes, and can quickly generate the basis called
Code, makes front and back end preferably connect cooperation, and then after can be implemented in the cloud editing machine of line and server
End well combines cooperation.
Further, as implementing of method described in Fig. 3, embodiments provide a kind of clothes
Business device, as shown in Figure 6, described server includes: receive unit 61, acquiring unit 62, transmitting element
63。
Described reception unit 61, may be used for receiving the asynchronous acquisition request of the pre-set list that client sends.
Described reception unit 61 curstomer-oriented end.
Described acquiring unit 62, may be used for obtaining and asks corresponding pre-set list with described asynchronous acquisition,
Wherein, described pre-set list is preserved different tool-class or the preset interface function of interface class correspondence respectively.
Described acquiring unit 62 is the main functional modules obtaining pre-set list.
Described transmitting element 63, may be used for sending described pre-set list to described client.Described transmission
Unit 63 curstomer-oriented end, for sending the main functional modules of pre-set list to client.
Further, so that when described client receives editor's information of user's input, from described
Pre-set list obtains the preset interface function mated with described editor's information fuzzy and shows, in order to
User selects a preset interface function to call from described preset interface function.
Further, as it is shown in fig. 7, described server also includes: storage unit 64.
Described acquiring unit 62, it is also possible to for obtaining function, from configuration file by default Java reflection
Middle reflection acquires different tool-class or the preset interface function of interface class correspondence respectively, wherein, described
Configuration file is preserved different tool-class or the class.path information of interface class correspondence respectively and relevant retouching
State information.
Described storage unit 64, may be used for the different tool-class that obtained by described acquiring unit 62 or connects
The preset interface function of mouth class correspondence respectively is saved in described pre-set list.
It should be noted that its of each functional unit involved by a kind of server of embodiment of the present invention offer
He describes accordingly, the corresponding description being referred in Fig. 3, does not repeats them here.In the embodiment of the present invention
Hardware processor (hardware processor) can be passed through and realize related function module.
A kind of server that the embodiment of the present invention provides, first obtains from server and preserves different instrument
The pre-set list of class or the interface class preset interface function of correspondence respectively, as the editor receiving user's input
During information, from described pre-set list, obtain the preset interface function mated with described editor's information fuzzy also
Show, in order to user selects a preset interface function to call from described preset interface function,
Compared with prior art, it is possible to achieve user, using online cloud editing machine when, points out for user
Service that back-end server is provided and instrument, it is possible to the most detailed make user know server background carries
For which functional based method, and the use of method describes, and can quickly generate the foundation code called,
Make front and back end preferably connect cooperation, and then the cloud editing machine that can be implemented in line is fine with server back end
Combination cooperation.
Further, embodiments provide a kind of data editing system, including: client 81,
Server 82.
Described server 82, the asynchronous of pre-set list that may be used for receiving the transmission of described client 81 obtains
Take request;Obtain and ask corresponding pre-set list, wherein, in described pre-set list with described asynchronous acquisition
Preserve different tool-class or the preset interface function of interface class correspondence respectively;Institute is sent to described client
State pre-set list.
Described client 81, for receiving the described pre-set list of described server 82 transmission and depositing
Storage;When receiving editor's information of user's input, obtain from described pre-set list and described editor's letter
Cease the preset interface function of fuzzy matching and show, in order to user selects from described preset interface function
Select a preset interface function to call.
It is exemplary, as it is shown in figure 9, Fig. 9 shows a kind of server that the embodiment of the present invention provides
Entity structure schematic diagram, this server may include that processor (processor) 91, communication interface
(Communications Interface) 92, memorizer (memory) 93 and bus 94, wherein, processor
91, communication interface 92, memorizer 93 complete mutual communication by bus 94.Communication interface 92
May be used for the information transmission between server and client.Processor 91 can call in memorizer 93
Logical order, to perform following method: receive client send pre-set list asynchronous acquisition request;
Obtain and ask corresponding pre-set list with described asynchronous acquisition, wherein, described pre-set list is preserved not
With the preset interface function that tool-class or interface class are the most corresponding;Described preset row are sent to described client
Table, so that when described client receives editor's information of user's input, from described pre-set list
Obtain the preset interface function mated with described editor's information fuzzy and show, in order to user is from described
Preset interface function select a preset interface function call.Additionally, in above-mentioned memorizer 93
Logical order can be realized and as independent production marketing or use by the form of SFU software functional unit
Time, can be stored in a computer read/write memory medium.Based on such understanding, the present invention's
Part or the part of this technical scheme that prior art is contributed by technical scheme the most in other words can
Embodying with the form with software product, this computer software product is stored in a storage medium,
Including some instructions with so that computer equipment (can be personal computer, server, or
The network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And it is aforesaid
Storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can
To store the medium of program code.
A kind of data editing system that the embodiment of the present invention provides, first obtains from server and preserves not
With tool-class or the pre-set list of the interface class preset interface function of correspondence respectively, when receiving user's input
Editor's information time, from described pre-set list, obtain the preset interface that mates with described editor's information fuzzy
Function also shows, in order to user selects a preset interface function to enter from described preset interface function
Row calls, compared with prior art, it is possible to achieve user using online cloud editing machine when, for
User points out the service and instrument that back-end server provided, it is possible to the most detailed user that makes knows service
Which functional based method device backstage provides, and the use of method describes, and can quickly generate and call
Foundation code, makes front and back end preferably connect cooperation, and then can be implemented in cloud editing machine and the service of line
Device rear end well combines cooperation.
Device embodiment described above is only schematically, wherein said illustrates as separating component
Unit can be or may not be physically separate, the parts shown as unit can be or
Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network
On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment
The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible
Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality
The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly
Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words
Dividing and can embody with the form of software product, this computer software product can be stored in computer can
Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one
Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented
The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it
Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area
Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or
Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill
The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (11)
1. a data editing method, it is characterised in that including:
The asynchronous acquisition request of pre-set list is sent, so that described server obtains with described to server
Asynchronous obtain the pre-set list that request is corresponding, wherein, described pre-set list is preserved different tool-class or
The preset interface function that interface class is the most corresponding;
Receive the described pre-set list of described server transmission and store;
When receiving editor's information of user's input, obtain from described pre-set list and described editor's letter
Cease the preset interface function of fuzzy matching and show, in order to user selects from described preset interface function
Select a preset interface function to call.
Data editing method the most according to claim 1, it is characterised in that described method also includes:
Finger is called when receive a preset interface function that user selects from described preset interface function
When making, a preset interface function of described selection is called.
Data editing method the most according to claim 1, it is characterised in that described method also includes:
Detect and whether described pre-set list exists the preset interface letter mated with described editor's information fuzzy
Number;
If not existing, then exporting information, described information does not exist and described editor for prompting
The preset interface function of information fuzzy coupling;
The described preset interface function that acquisition is mated with described editor's information fuzzy from described pre-set list is also
Carry out display to include:
If existing, then from described pre-set list, obtain the preset interface mated with described editor's information fuzzy
Function also shows.
4. a data editing method, it is characterised in that including:
Receive the asynchronous acquisition request of the pre-set list that client sends;
Obtain and ask corresponding pre-set list with described asynchronous acquisition, wherein, described pre-set list preserves
There is the preset interface function of different tool-class or interface class correspondence respectively;
Described pre-set list is sent to described client, so that when described client receives user's input
Editor's information time, from described pre-set list, obtain the preset interface that mates with described editor's information fuzzy
Function also shows, in order to user selects a preset interface function to enter from described preset interface function
Row calls.
Data editing method the most according to claim 4, it is characterised in that described reception client
Before the asynchronous acquisition request of the pre-set list sent, described method also includes:
Obtain function by default Java reflection, from configuration file reflection acquire different tool-class or
Preset interface function that interface class is corresponding respectively is also saved in described pre-set list, wherein, and described configuration
File is preserved different tool-class or the class.path information of interface class correspondence respectively and relevant description letter
Breath.
6. a client, it is characterised in that including:
Transmitting element, for sending the asynchronous acquisition request of pre-set list to server, so that described clothes
Business device obtains asks corresponding pre-set list with described asynchronous acquisition, wherein, preserves in described pre-set list
There is the preset interface function of different tool-class or interface class correspondence respectively;
Receive unit, for receiving the described pre-set list that described server sends;
Memory element, stores for the pre-set list receiving described reception unit;
Acquiring unit, for when receiving editor's information of user's input, storing from described memory element
Pre-set list in obtain the preset interface function that mates with described editor's information fuzzy;
Display unit, for showing the preset interface function that described acquiring unit obtains, in order to user is from institute
State and preset interface function selects a preset interface function call.
Client the most according to claim 6, it is characterised in that described client also includes:
Call unit, for connecing when receive that user selects from described preset interface function one is preset
During the call instruction of mouthful function, a preset interface function of described selection is called.
Client the most according to claim 6, it is characterised in that described client also includes: inspection
Survey unit and output unit;
Whether described detector unit, be used for detecting in described pre-set list and exist and described editor's information fuzzy
The preset interface function of coupling;
Described output unit, if detecting for described detector unit and not existing in described pre-set list and institute
Stating the preset interface function of editor's information fuzzy coupling, then export information, described information is used for
There is not the preset interface function mated with described editor's information fuzzy in prompting;
Described acquiring unit, if specifically for described detector unit detect in described pre-set list exist with
The preset interface function of described editor's information fuzzy coupling, then obtain and described volume from described pre-set list
Collect the preset interface function of information fuzzy coupling.
9. a server, it is characterised in that including:
Receive unit, for receiving the asynchronous acquisition request of the pre-set list that client sends;
Acquiring unit, asks corresponding pre-set list for obtaining with described asynchronous acquisition, wherein, described
Pre-set list is preserved different tool-class or the preset interface function of interface class correspondence respectively;
Transmitting element, for sending described pre-set list to described client, so that when described client
When receiving editor's information of user's input, obtain and described editor's information fuzzy from described pre-set list
Coupling preset interface function and show, in order to user selects one from described preset interface function
Preset interface function calls.
Server the most according to claim 9, it is characterised in that described server also includes:
Storage unit;
Described acquiring unit, is additionally operable to obtain function by default Java reflection, reflects from configuration file
Acquire different tool-class or the preset interface function of interface class correspondence respectively, wherein, described configuration literary composition
Part is preserved different tool-class or the class.path information of interface class correspondence respectively and relevant description letter
Breath;
Described storage unit is the most right for different tool-class or the interface class obtained by described acquiring unit
The preset interface function answered is saved in described pre-set list.
11. 1 kinds of data editing systems, it is characterised in that including: described in any one of claim 6-8
Client and any one of claim 9-10 described in server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610113304.8A CN105843600A (en) | 2016-02-29 | 2016-02-29 | Data editing method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610113304.8A CN105843600A (en) | 2016-02-29 | 2016-02-29 | Data editing method, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105843600A true CN105843600A (en) | 2016-08-10 |
Family
ID=56586919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610113304.8A Pending CN105843600A (en) | 2016-02-29 | 2016-02-29 | Data editing method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105843600A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108156022A (en) * | 2017-12-04 | 2018-06-12 | 北京奇艺世纪科技有限公司 | A kind of service calling method, device and electronic equipment |
CN108958992A (en) * | 2017-05-18 | 2018-12-07 | 北京京东尚科信息技术有限公司 | test method and device |
CN109873831A (en) * | 2019-03-14 | 2019-06-11 | 珠海天燕科技有限公司 | A kind of method and system of data transmission |
CN109901829A (en) * | 2019-01-29 | 2019-06-18 | 深圳点猫科技有限公司 | A kind of code completion method and device of the third party library based on ace extension |
CN110007900A (en) * | 2019-02-13 | 2019-07-12 | 平安科技(深圳)有限公司 | Tool-class call method, system, computer equipment and storage medium |
CN113791765A (en) * | 2021-09-15 | 2021-12-14 | 平安科技(深圳)有限公司 | Resource arranging method, device and equipment of cloud service and storage medium |
CN109992614B (en) * | 2018-11-14 | 2023-05-30 | 创新先进技术有限公司 | Data acquisition method, device and server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102841794A (en) * | 2011-06-23 | 2012-12-26 | 珠海市君天电子科技有限公司 | Method, device and system for reinstalling operating system of terminal equipment |
CN103309728A (en) * | 2012-03-12 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Asynchronous request processing method and equipment |
CN103473073A (en) * | 2013-09-25 | 2013-12-25 | 张新杰 | Method and system for fast calling out command calling interface |
-
2016
- 2016-02-29 CN CN201610113304.8A patent/CN105843600A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102841794A (en) * | 2011-06-23 | 2012-12-26 | 珠海市君天电子科技有限公司 | Method, device and system for reinstalling operating system of terminal equipment |
CN103309728A (en) * | 2012-03-12 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Asynchronous request processing method and equipment |
CN103473073A (en) * | 2013-09-25 | 2013-12-25 | 张新杰 | Method and system for fast calling out command calling interface |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958992A (en) * | 2017-05-18 | 2018-12-07 | 北京京东尚科信息技术有限公司 | test method and device |
CN108156022A (en) * | 2017-12-04 | 2018-06-12 | 北京奇艺世纪科技有限公司 | A kind of service calling method, device and electronic equipment |
CN109992614B (en) * | 2018-11-14 | 2023-05-30 | 创新先进技术有限公司 | Data acquisition method, device and server |
CN109901829A (en) * | 2019-01-29 | 2019-06-18 | 深圳点猫科技有限公司 | A kind of code completion method and device of the third party library based on ace extension |
CN110007900A (en) * | 2019-02-13 | 2019-07-12 | 平安科技(深圳)有限公司 | Tool-class call method, system, computer equipment and storage medium |
CN109873831A (en) * | 2019-03-14 | 2019-06-11 | 珠海天燕科技有限公司 | A kind of method and system of data transmission |
CN109873831B (en) * | 2019-03-14 | 2021-07-23 | 珠海天燕科技有限公司 | Data transmission method and system |
CN113791765A (en) * | 2021-09-15 | 2021-12-14 | 平安科技(深圳)有限公司 | Resource arranging method, device and equipment of cloud service and storage medium |
CN113791765B (en) * | 2021-09-15 | 2024-03-08 | 平安科技(深圳)有限公司 | Resource arrangement method, device and equipment of cloud service and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105843600A (en) | Data editing method, apparatus and system | |
CN104461903B (en) | The method and apparatus of test client based on browser | |
US7930226B1 (en) | User-driven document-based data collection | |
CN102323873B (en) | In order to trigger the method and system that icon is replied in instant messaging | |
CN106104498B (en) | Information processing system, data processing control method, program and recording medium | |
US9304746B2 (en) | Creating a user model using component based approach | |
CN106792250A (en) | Barrage information interacting method and device | |
CN110321154A (en) | A kind of interface message methods of exhibiting, device and the electronic equipment of micro services | |
CN105426652A (en) | Health index measuring method and apparatus | |
CN109801191A (en) | A kind of legal document is sent to method, collection methods and system | |
JP2015162077A (en) | Data management program, data management system, and data management server | |
CN110322235A (en) | It is a kind of based on mark realize inter-bank without card enchashment processing method and processing device | |
CN106649104A (en) | Testing system and method based on host system transaction replaying | |
CN106168957A (en) | The system and method that the recording of a kind of questionnaire and location are verified | |
CN111190805A (en) | Training log visualization system, method and equipment of deep learning training platform | |
CN107291919A (en) | A kind of system and method for add fields online in pdf document | |
CN105243584B (en) | A kind of method and system of data processing | |
CN111382004B (en) | Parameter backup method and device, parameter restoration method and device and backup restoration system | |
CN117291517A (en) | Method and device for constructing approval process | |
JP2019174894A (en) | Workshop support system and workshop support method | |
CN108513034A (en) | Method, electronic device and the computer readable storage medium of long-range shooting picture | |
CN106371722A (en) | Information processing method and device | |
JP2010128518A (en) | Information processor, document management system, processing method, and program | |
JP2018081530A (en) | Financial document creation system, financial document creation terminal, and financial document creation program | |
JP2013050979A (en) | Information processing apparatus, document management system, processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160810 |
|
WD01 | Invention patent application deemed withdrawn after publication |