CN107291459A - A kind of method and server for arranging information - Google Patents

A kind of method and server for arranging information Download PDF

Info

Publication number
CN107291459A
CN107291459A CN201710435841.9A CN201710435841A CN107291459A CN 107291459 A CN107291459 A CN 107291459A CN 201710435841 A CN201710435841 A CN 201710435841A CN 107291459 A CN107291459 A CN 107291459A
Authority
CN
China
Prior art keywords
interface parameters
interface
target data
mark
client
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.)
Withdrawn
Application number
CN201710435841.9A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201710435841.9A priority Critical patent/CN107291459A/en
Publication of CN107291459A publication Critical patent/CN107291459A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of method and server for arranging information, wherein method includes:Obtain the solicited message that client is sent;Wherein, the solicited message includes application programming interface mark and interface parameters to be visited;Target data to be arranged is obtained according to the interface parameters;According to application programming interface mark, the interface parameters and target data generation file destination;Corresponding storage catalogue is identified according to the application programming interface and stores the file destination.The embodiment of the present invention can save the time for arranging information, so as to improve the efficiency for arranging information, quickly generate file destination.

Description

A kind of method and server for arranging information
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and server for arranging information.
Background technology
Wiki (Wiki) is a system write for multi-person synergy, has easy to use, self-organizing due to it, can increase Long, open the features such as, user can carry out project management or document management using Wiki.
In the prior art, the mode of generation Wiki documents is usually:Terminal obtains application programming interface The data that (Application Programming Interface, API) is returned, user arranges the data that terminal is got, and By Wiki form typings reduced data formation Wiki documents, Wiki documents are submitted to Wiki and carry out project management or text Shelves management.
However, during Wiki documents are formed, user needs to take a significant amount of time extraction data and data is carried out Taxonomic revision, causes to arrange the less efficient of Wiki documents.
The content of the invention
The embodiment of the present invention provide it is a kind of arrange information method and server, can for user save arrange information when Between, so as to improve the efficiency for arranging information, quickly generate file destination.
In a first aspect, the embodiments of the invention provide a kind of method for arranging information, this method includes:
Obtain the solicited message that client is sent;Wherein, the solicited message connects including application programming to be visited Mouth mark and interface parameters;
Target data to be arranged is obtained according to the interface parameters;
According to application programming interface mark, the interface parameters and target data generation target text Part;
Corresponding storage catalogue is identified according to the application programming interface and stores the file destination.
On the other hand, the embodiments of the invention provide a kind of server, the server includes:
First acquisition unit, the solicited message for obtaining client transmission;Wherein, the solicited message includes to be visited Application programming interface mark and interface parameters;
Second acquisition unit, for obtaining target data to be arranged according to the interface parameters;
Generation unit, for according to application programming interface mark, the interface parameters and the number of targets According to generation file destination;
Memory cell, the target text is stored for identifying corresponding storage catalogue according to the application programming interface Part.
The third aspect, the embodiments of the invention provide another server, including processor, input equipment, output equipment And memory, the processor, input equipment, output equipment and memory interconnection, wherein, the memory is used to store Support server perform the above method computer program, the computer program include programmed instruction, the processor by with Put for calling described program to instruct, the method for performing above-mentioned first aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Be stored with computer program, and the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
The embodiment of the present invention is by obtaining the solicited message that client is sent;Wherein, the solicited message includes to be visited Application programming interface mark and interface parameters;Target data to be arranged is obtained according to the interface parameters;According to The application programming interface mark, the interface parameters and target data generation file destination;Answered according to described Corresponding storage catalogue, which is identified, with Program Interfaces stores the file destination.It is different from prior art, server can be from API identifies corresponding extracting data and sorts out the target data matched with interface parameters, and conformity goal data generation mesh Mark file, it is not necessary to target data is manually extracted from mass data and target data is formed into file destination, can be saved The time of information is arranged, so as to improve the efficiency for arranging information, file destination is quickly generated.
Brief description of the drawings
Technical scheme, is used required in being described below to embodiment in order to illustrate the embodiments of the present invention more clearly Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of method for arranging information provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram of the method for arrangement information that another embodiment of the present invention is provided;
Fig. 3 is a kind of schematic diagram of application programming interface provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic block diagram of server provided in an embodiment of the present invention;
Fig. 5 is a kind of server schematic block diagram that another embodiment of the present invention is provided;
Fig. 6 is a kind of server schematic block diagram that yet another embodiment of the invention is provided.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" be indicated Described feature, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, it is whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and "the" are intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combination, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the server described in the embodiment of the present invention is including but not limited to such as with touch sensitive surface The mobile phone, laptop computer or tablet PC of (for example, touch-screen display and/or touch pad) etc it is other just Portable device.It is to be further understood that in certain embodiments, the equipment not portable communication device, but with touching Touch the desktop computer of sensing surface (for example, touch-screen display and/or touch pad).
In discussion below, the server including display and touch sensitive surface is described.It is, however, to be understood that , server can include such as physical keyboard, mouse and/or control-rod one or more of the other physical user interface set It is standby.
Server supports various application programs, such as one or more of following:Drawing application program, demonstration application journey Sequence, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, game application Program, telephony application, videoconference application, email application, instant messaging applications, exercise Support application program, photo management application program, digital camera application program, digital camera application program, web-browsing application Program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on the server can use at least one public affairs of such as touch sensitive surface Common physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch sensitivity The corresponding information shown in the one or more functions and server on surface.So, the public physical structure (example of server Such as, touch sensitive surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow diagram of method for arranging information provided in an embodiment of the present invention.This reality The executive agent for applying the method that information is arranged in example is server.The method of arrangement information as shown in Figure 1 may include following step Suddenly:
S101:Obtain the solicited message that client is sent;Wherein, the solicited message includes application program volume to be visited Journey interface identifier and interface parameters.
, can be by client to the corresponding server of the application program when user wants to arrange the information of certain application program Send the solicited message for asking arrangement information.
Server obtains the solicited message that client is sent, and solicited message includes application programming interface to be visited (Application Programming Interface, API) is identified and interface parameters.
Alternatively, interface parameters can include interface parameters title and the corresponding data type of interface parameters.Data class Type can include integer int, character type string.One application program can correspond to an API, can also correspond to multiple API, It is not limited herein.As an application program multiple API of correspondence, preset function can be corresponded with api interface.
Interface parameters can include the information of client and/or the information of client user, the API to be visited for obtaining The corresponding data for meeting customer demand (data are data to be arranged).The information of client user can be to be visited The personal information of the corresponding application programs of API.
For example, interface parameters includes but is not limited to:Request title, the account of the corresponding application programs of API of client transmission The version number of the operating system of number information, the unique mark of client and client, can specifically be increased according to actual conditions Subtract or be configured according to actual needs.The account information of the corresponding application programs of API can include account title (such as pet name) And/or account ID.The unique mark of client can be international mobile equipment identification number (International Mobile Equipment Identity, IMEI), but this is not limited to, it can also be other unique marks, not be limited herein.
The data type for the request title that client is sent is character type, the account information of the corresponding application programs of API Data type is integer, and the data type of the unique mark of client is character type, the version number of the operating system of client Data type is character type.
For example, it is desired to obtain or the application program of disposal data is " QQGame ", application programming to be visited connects Mouth, which is designated, " robs gift bag Api_Gift_grab ", interface parameters can include:Client request sp, " QQGame " account Title, the account uuid of " QQGame ", the IMEI of client, the version number of client operating system.
S102:Target data to be arranged is obtained according to the interface parameters.
Server extracts the interface parameters name included in solicited message when getting solicited message from the solicited message Claim and the interface parameters such as the corresponding data type of interface parameters, and extract according to the interface parameters of extraction number of targets to be arranged According to.
Extracting target data to be arranged according to the interface parameters of extraction can be, from the API marks to be visited got Know corresponding extracting data and target data to be arranged that arrangement is matched with interface parameters.
For example, when needing to obtain or the application program of disposal data is " QQGame ", target data to be arranged can To be the title (such as GameHall) of application program, gift bag active coding (such as sajdf0-3j09d7t3k-a0sjh3) and " game The account title (such as 132****1716) in hall ", can also include gift bag information (such as gift bag sequence number).
S103:According to application programming interface mark, the interface parameters and target data generation mesh Mark file.
API marks, interface parameters and the target data to be visited got is generated mesh by server by preset format Mark file.Wherein, API marks, interface parameters and target data association to be visited can be stored in target text by server In part.Preset format can be default Wiki forms, but be not limited to this or extended formatting, can also be according to reality Form required for border demand is self-defined.
S104:Corresponding storage catalogue is identified according to the application programming interface and stores the file destination.
Server is incited somebody to action according to the corresponding storage catalogue of api interface identifier lookup API marks to be visited got The file destination generated in S103 is stored to the storage catalogue found.Storage catalogue can be folder content or Refer to specific store path or storage address.
Such scheme, server obtains the solicited message that client is sent;Wherein, the solicited message includes to be visited Application programming interface is identified and interface parameters;Target data to be arranged is obtained according to the interface parameters;According to institute State application programming interface mark, the interface parameters and target data generation file destination;According to the application Program Interfaces identify corresponding storage catalogue and store the file destination.Prior art is different from, server can be from API Identify corresponding extracting data and sort out the target data matched with interface parameters, and conformity goal data generation target text Part, it is not necessary to target data is manually extracted from mass data and target data is formed into file destination, arrangement can be saved The time of information, so as to improve the efficiency for arranging information, quickly generate file destination.
Fig. 2 is referred to, Fig. 2 is a kind of schematic flow diagram of the method for arrangement information that another embodiment of the present invention is provided. The execute server of the method for information is arranged in the present embodiment.The method of arrangement information as shown in Figure 2 may include following steps:
S201:Obtain the solicited message that client is sent;Wherein, the solicited message includes application program volume to be visited Journey interface identifier and interface parameters.
, can be by client to the corresponding server of the application program when user wants to arrange the information of certain application program Send the solicited message for asking arrangement information.
Server obtains the solicited message that client is sent, and solicited message includes application programming interface to be visited (Application Programming Interface, API) is identified and interface parameters.
Alternatively, interface parameters can include interface parameters title and the corresponding data type of interface parameters.Data class Type can include integer int, character type string.One application program can correspond to an API, can also correspond to multiple API, It is not limited herein.As an application program multiple API of correspondence, preset function can be corresponded with api interface.
Interface parameters can include the information of client and/or the information of client user, the API to be visited for obtaining The corresponding data for meeting customer demand (data are data to be arranged).The information of client user can be to be visited The personal information of the corresponding application programs of API.
For example, interface parameters includes but is not limited to:Request title, the account of the corresponding application programs of API of client transmission The API correspondences that the version number of the operating system of number information, the unique mark of client and client or client are installed Application program version number, specifically can be increased and decreased according to actual conditions or be configured according to actual needs.API is corresponding The account information of application program can include account title (such as pet name) and/or account ID.The unique mark of client can be International mobile equipment identification number (International Mobile Equipment Identity, IMEI), but be not limited to This, can also be other unique marks, not be limited herein.
The data type for the request title that client is sent is character type, the account information of the corresponding application programs of API Data type is integer, and the data type of the unique mark of client is character type, the version number of the operating system of client Data type is character type.
For example, it is desired to obtain or the application program of disposal data is " QQGame ", application programming to be visited connects Mouth, which is designated, " robs gift bag Api_Gift_grab ", interface parameters can include:Client request sp, " QQGame " account Title, the account uuid of " QQGame ", the IMEI of client, the version of the version number of client operating system or " QQGame " This number.
S202:Data to be arranged are obtained according to the interface parameters, and the data to be arranged are generated into JSON lattice The target data of formula.
JSON (JavaScript Object Notation) form, also referred to as JS object tags form, are a kind of lightweights Data interchange format.
Server extracts the interface parameters name included in solicited message when getting solicited message from the solicited message Claim and the interface parameters such as the corresponding data type of interface parameters, and extract according to the interface parameters of extraction number of targets to be arranged According to.
Extracting target data to be arranged according to the interface parameters of extraction can be, from the API marks to be visited got Know corresponding extracting data and the target data of JSON forms to be arranged that arrangement is matched with interface parameters.
For example, when needing to obtain or the application program of disposal data is " QQGame ", target data to be arranged can To be the title (such as GameHall) of application program, gift bag active coding (such as sajdf0-3j09d7t3k-a0sjh3) and " game The account title (such as 132****1716) in hall ", can also include gift bag information (such as gift bag sequence number).
It is as follows that server gets the corresponding output parameters of " robbing gift bag " this API according to interface parameters:
The target data for the JSON forms that server is therefrom extracted is as follows:
The entitled GameHall of application program, gift bag active coding is sajdf0-3j09d7t3k-a0sjh3, " game is big The user account in the Room " is 132****1716.
S203:According to application programming interface mark, the interface parameters and the target data by default Wiki Wiki forms generation Wiki documents.
Server obtains the API table according to the API marks to be visited got and shows corresponding interface IP address, for example, API " robbing gift bag " is designated, its corresponding interface IP address can be:/API/Gift/grab/.
Server is according to interface IP address, the Wiki forms of interface parameters and target data these three catalogues, and write-in is such as In gameHallWiki.wiki file destination.Now, file destination is Wiki documents.
In other embodiments, can also by interface IP address, interface parameters and the corresponding output parameter of interface parameters this In the Wiki forms of three catalogues, the file destination of write-in such as gameHallWiki.wiki.
For example, entitled gameHallWiki.wiki file destination includes:
Gift bag interface is robbed, interface IP address is:Version after/Api/Gift/grab/ versions covering 1.6.4;
Interface parameters is as follows:
Field Title Data type Explanation
* General parameter * *
Gift_id Gift bag ID * *
Output parameter is as follows:
Title Description Remarks
success Ask success flag True represents success, and false represents failure
msg Information Debugging message is described
sign Data signature GameHall
data The json data of return
Rob the corresponding file destination gameHallWiki.wiki of gift bag interface (Gift_grab interfaces) can include it is following Content:
S204:Corresponding storage catalogue is identified according to the application programming interface and stores the Wiki documents.
Server is incited somebody to action according to the corresponding storage catalogue of api interface identifier lookup API marks to be visited got The Wiki documents generated in S203 are stored to the storage catalogue found.Storage catalogue can be folder content or Refer to specific store path or storage address.
Also referring to Fig. 3, Fig. 3 is a kind of schematic diagram of application programming interface provided in an embodiment of the present invention.Such as Shown in Fig. 3, " QQGame " application is to that should have multiple API in server, and " robbing gift bag interface " is in " game gift bag " in figure 3 Under catalogue, the numbering of " robbing gift bag interface " is 12.10.
" robbing gift bag interface " correspondence that it is 12.10 to numbering that server, which stores file destination gameHallWiki.wiki, Store path or storage address.
Alternatively, the solicited message that server is got also includes in the mark of the client, the present embodiment, arranges letter The method of breath can also include S205:The target data is sent to the client according to the mark of the client.
Server is when getting target data, according to the client for sending the solicited message included in solicited message Mark, the client is sent to by the target data got.Target data can be the target data of JSON forms.
Such scheme, server obtains the solicited message that client is sent;Wherein, the solicited message includes to be visited Application programming interface is identified and interface parameters;Target data to be arranged is obtained according to the interface parameters;According to institute State application programming interface mark, the interface parameters and target data generation file destination;According to the application Program Interfaces identify corresponding storage catalogue and store the file destination.Prior art is different from, server can be from API Identify corresponding extracting data and sort out the target data matched with interface parameters, and conformity goal data generation target text Part, it is not necessary to target data is manually extracted from mass data and target data is formed into file destination, arrangement can be saved The time of information, so as to improve the efficiency for arranging information, quickly generate file destination.
The solicited message that server is sent according to client obtains the corresponding API data of the solicited message, and according to API numbers According to generation wiki files, it is not necessary to which user writes wiki files manually according to wiki forms, it is possible to increase the generation of wiki files Efficiency.
The solicited message that server is sent according to client obtains the target data of the corresponding JSON forms of the solicited message, User is not needed to obtain target data from API data, it is possible to increase the acquisition efficiency of target data.
Referring to Fig. 4, Fig. 4 is a kind of schematic block diagram of server provided in an embodiment of the present invention.The service of the present embodiment The each unit that device 4 includes is used to perform each step in the corresponding embodiments of Fig. 1, specifically refers to the corresponding realities of Fig. 1 and Fig. 1 The associated description in example is applied, is not repeated herein.The server of the present embodiment includes:First acquisition unit 410, second acquisition unit 420th, generation unit 430 and memory cell 440.
First acquisition unit 410 is used for the solicited message for obtaining client transmission;Wherein, the solicited message includes waiting to visit The application programming interface mark and interface parameters asked;
Second acquisition unit 420 is used to obtain target data to be arranged according to the interface parameters;
Generation unit 430 is used for according to application programming interface mark, the interface parameters and the target Data generate file destination;
Memory cell 440 is used to identify the corresponding storage catalogue storage target according to the application programming interface File.
Such scheme, server obtains the solicited message that client is sent;Wherein, the solicited message includes to be visited Application programming interface is identified and interface parameters;Target data to be arranged is obtained according to the interface parameters;According to institute State application programming interface mark, the interface parameters and target data generation file destination;According to the application Program Interfaces identify corresponding storage catalogue and store the file destination.Prior art is different from, server can be from API Identify corresponding extracting data and sort out the target data matched with interface parameters, and conformity goal data generation target text Part, it is not necessary to target data is manually extracted from mass data and target data is formed into file destination, arrangement can be saved The time of information, so as to improve the efficiency for arranging information, quickly generate file destination.
Referring to Fig. 5, Fig. 5 is a kind of schematic block diagram for server that another embodiment of the present invention is provided.The present embodiment The each unit that server 5 includes is used to perform each step in the corresponding embodiments of Fig. 2, specifically refers to Fig. 2 and Fig. 2 correspondences Embodiment in associated description, do not repeat herein.The server of the present embodiment includes:First acquisition unit 510, second is obtained Unit 520, generation unit 530, memory cell 540 and transmitting element 550.
First acquisition unit 510 is used for the solicited message for obtaining client transmission;Wherein, the solicited message includes waiting to visit The application programming interface mark and interface parameters asked;The interface parameters includes interface parameters title and the interface The corresponding data type of parameter.
Second acquisition unit 520 is used to obtain data to be arranged according to the interface parameters, and will be described to be arranged Data generate the target data of JSON forms.
Generation unit 530 is used for according to application programming interface mark, the interface parameters and the target Data generate Wiki documents by default Wiki Wiki forms.
Memory cell 540 is used to identify corresponding storage catalogue storage Wiki texts according to the application programming interface Shelves.
Transmitting element 550 is used to be sent the target data to the client according to the mark of the client.
Such scheme, server obtains the solicited message that client is sent;Wherein, the solicited message includes to be visited Application programming interface is identified and interface parameters;Target data to be arranged is obtained according to the interface parameters;According to institute State application programming interface mark, the interface parameters and target data generation file destination;According to the application Program Interfaces identify corresponding storage catalogue and store the file destination.Prior art is different from, server can be from API Identify corresponding extracting data and sort out the target data matched with interface parameters, and conformity goal data generation target text Part, it is not necessary to target data is manually extracted from mass data and target data is formed into file destination, arrangement can be saved The time of information, so as to improve the efficiency for arranging information, quickly generate file destination.
The solicited message that server is sent according to client obtains the corresponding API data of the solicited message, and according to API numbers According to generation wiki files, it is not necessary to which user writes wiki files manually according to wiki forms, it is possible to increase the generation of wiki files Efficiency.
The solicited message that server is sent according to client obtains the target data of the corresponding JSON forms of the solicited message, User is not needed to obtain target data from API data, it is possible to increase the acquisition efficiency of target data.
Referring to Fig. 6, Fig. 6 is a kind of server schematic block diagram that yet another embodiment of the invention is provided.This reality as depicted The server 6 applied in example can include:One or more processors 601;One or more input equipments 602, it is one or more Output equipment 603 and memory 604.Above-mentioned processor 601, input equipment 602, output equipment 603 and memory 604 are by total Line 605 is connected.Memory 602 is used to store computer program, and the computer program includes programmed instruction, and processor 601 is used In the programmed instruction for performing the storage of memory 602.Wherein, processor 601 is arranged to call described program instruction execution:
Obtain the solicited message that client is sent;Wherein, the solicited message connects including application programming to be visited Mouth mark and interface parameters;
Target data to be arranged is obtained according to the interface parameters;
According to application programming interface mark, the interface parameters and target data generation target text Part;
Corresponding storage catalogue is identified according to the application programming interface and stores the file destination.
Further, processor 601 is arranged to call described program instruction execution:Obtained according to the interface parameters Data to be arranged, and the data to be arranged are generated to the target data of JSON forms.
Further, if the solicited message also includes the mark of the client;Processor 601 is arranged to call Described program instruction is performed:The target data is sent to the client according to the mark of the client.
Further, processor 601 is arranged to call described program instruction execution:According to the application programming Interface identifier, the interface parameters and the target data generate Wiki documents by default Wiki Wiki forms.
Further, the interface parameters includes interface parameters title and the corresponding data type of the interface parameters.
It should be appreciated that in embodiments of the present invention, alleged processor 601 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 602 can include Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and fingerprint Directional information), microphone etc., output equipment 603 can include display (LCD etc.), loudspeaker etc..
The memory 604 can include read-only storage and random access memory, and to processor 601 provide instruction and Data.The a part of of memory 604 can also include nonvolatile RAM.For example, memory 604 can also be deposited Store up the information of device type.
In the specific implementation, processor 601, input equipment 602, the output equipment 603 described in the embodiment of the present invention can Perform the realization side described in the first embodiment and second embodiment of the method provided in an embodiment of the present invention for arranging information Formula, also can perform the implementation of the server described by the embodiment of the present invention, will not be repeated here.
Further, a kind of computer-readable recording medium, the computer are provided in another embodiment of the invention Readable storage medium storing program for executing is stored with computer program, and the computer program includes programmed instruction, and described program is instructed by processor Realized during execution:
Obtain the solicited message that client is sent;Wherein, the solicited message connects including application programming to be visited Mouth mark and interface parameters;
Target data to be arranged is obtained according to the interface parameters;
According to application programming interface mark, the interface parameters and target data generation target text Part;
Corresponding storage catalogue is identified according to the application programming interface and stores the file destination.
Alternatively, it can be realized when the computer program is executed by processor:Obtained according to the interface parameters and treat whole The data of reason, and the data to be arranged are generated to the target data of JSON forms.
Alternatively, if the solicited message also includes the mark of the client;The computer program is held by processor It can be realized during row:The target data is sent to the client according to the mark of the client.
Alternatively, it can be realized when the computer program is executed by processor:According to the application programming interface Mark, the interface parameters and the target data generate Wiki documents by default Wiki Wiki forms.
Alternatively, the interface parameters includes interface parameters title and the corresponding data type of the interface parameters.
The computer-readable recording medium can be the storage inside list of the server 6 described in foregoing any embodiment The hard disk or internal memory of member, such as server 6.The computer-readable recording medium can also be the external storage of the server The plug-in type hard disk being equipped with equipment, such as described server, intelligent memory card (Smart Media Card, SMC), safe number Word (Secure Digital, SD) blocks, flash card (Flash Card) etc..Further, the computer-readable recording medium The internal storage unit of the server can also both be included or including External memory equipment.The computer-readable recording medium For storing other programs and data needed for the computer program and the server.The computer-readable storage medium Matter can be also used for temporarily storing the data that has exported or will export.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience of description and succinctly, the clothes of foregoing description The specific work process of business device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed server and method, it can pass through Other modes are realized.For example, device embodiment described above is only schematical, for example, the division of the unit, It is only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.In addition, shown or discussed Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit Letter connection or electricity, mechanical or other forms are connected.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

1. a kind of method for arranging information, it is characterised in that including:
Obtain the solicited message that client is sent;Wherein, the solicited message includes application programming interface mark to be visited Know and interface parameters;
Target data to be arranged is obtained according to the interface parameters;
According to application programming interface mark, the interface parameters and target data generation file destination;
Corresponding storage catalogue is identified according to the application programming interface and stores the file destination.
2. according to the method described in claim 1, it is characterised in that described that target to be arranged is obtained according to the interface parameters Data, including:
Obtain data to be arranged according to the interface parameters, and the data to be arranged are generated to the number of targets of JSON forms According to.
3. method according to claim 1 or 2, it is characterised in that if the solicited message also includes the client Mark;Methods described also includes:
The target data is sent to the client according to the mark of the client.
4. method according to claim 2, it is characterised in that described according to application programming interface mark, institute Interface parameters and target data generation file destination are stated, is specially:
Default Wiki Wiki is pressed according to application programming interface mark, the interface parameters and the target data Form generates Wiki documents.
5. the method according to claim 1,2 or 4, it is characterised in that the interface parameters include interface parameters title with And the corresponding data type of the interface parameters.
6. a kind of server, it is characterised in that including:
First acquisition unit, the solicited message for obtaining client transmission;Wherein, the solicited message includes to be visited answer With Program Interfaces mark and interface parameters;
Second acquisition unit, for obtaining target data to be arranged according to the interface parameters;
Generation unit, for being given birth to according to application programming interface mark, the interface parameters and the target data Into file destination;
Memory cell, the file destination is stored for identifying corresponding storage catalogue according to the application programming interface.
7. server according to claim 6, it is characterised in that the server also includes:
Transmitting element, sends the target data to the client for the mark according to the client.
8. server according to claim 6, it is characterised in that
Second acquisition unit specifically for:Obtain data to be arranged according to the interface parameters, and by the number to be arranged According to the target data of generation JSON forms;
The generation unit specifically for:According to application programming interface mark, the interface parameters and the mesh Mark data and generate Wiki documents by default Wiki Wiki forms.
9. a kind of server, it is characterised in that including processor, input equipment, output equipment and memory, the processor, Input equipment, output equipment and memory are connected with each other, wherein, the memory is used to store computer program, the calculating Machine program includes programmed instruction, and the processor is arranged to call described program to instruct, and performs as claim 1-5 is any The methods described of item.
10. a kind of computer-readable recording medium, it is characterised in that the computer-readable storage medium is stored with computer program, The computer program includes programmed instruction, and described program instruction makes the computing device such as right when being executed by a processor It is required that any one of 1-5 methods described.
CN201710435841.9A 2017-06-09 2017-06-09 A kind of method and server for arranging information Withdrawn CN107291459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710435841.9A CN107291459A (en) 2017-06-09 2017-06-09 A kind of method and server for arranging information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710435841.9A CN107291459A (en) 2017-06-09 2017-06-09 A kind of method and server for arranging information

Publications (1)

Publication Number Publication Date
CN107291459A true CN107291459A (en) 2017-10-24

Family

ID=60096438

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710435841.9A Withdrawn CN107291459A (en) 2017-06-09 2017-06-09 A kind of method and server for arranging information

Country Status (1)

Country Link
CN (1) CN107291459A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885502A (en) * 2017-11-10 2018-04-06 广州市千钧网络科技有限公司 Interface processing method, processing unit, interface managerial method and managing device
CN109086433A (en) * 2018-08-13 2018-12-25 深圳壹账通智能科技有限公司 A kind of file management method and server based on big data analysis
CN109145588A (en) * 2018-07-27 2019-01-04 平安科技(深圳)有限公司 Data processing method and device
CN109710571A (en) * 2018-12-27 2019-05-03 腾讯音乐娱乐科技(深圳)有限公司 A kind of document analysis method, equipment and storage medium
WO2019136813A1 (en) * 2018-01-11 2019-07-18 平安科技(深圳)有限公司 Api file management method, server, and storage medium
CN110704030A (en) * 2019-09-26 2020-01-17 北京达佳互联信息技术有限公司 Interface configuration information generation method and device, electronic equipment and storage medium
CN111143646A (en) * 2018-11-06 2020-05-12 沈阳美行科技有限公司 Multi-engine search system and implementation method thereof
CN111767333A (en) * 2020-06-28 2020-10-13 北京思特奇信息技术股份有限公司 Generation method and device, use method and device of active directory
CN112667239A (en) * 2020-12-17 2021-04-16 深圳集智数字科技有限公司 Method and device for acquiring data through Application Programming Interface (API)
CN114553861A (en) * 2022-02-22 2022-05-27 中国工商银行股份有限公司 File transmission method and device, storage medium and electronic equipment
CN112667239B (en) * 2020-12-17 2024-05-24 深圳集智数字科技有限公司 Method and device for acquiring data through application programming interface API

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191033A1 (en) * 2001-06-15 2002-12-19 Scott Roberts Systems and methods for creating and displaying a user interface for displaying hierarchical data
US20060101390A1 (en) * 2004-10-19 2006-05-11 Microsoft Corporation Lookup control configuration
CN101193109A (en) * 2006-12-01 2008-06-04 中兴通讯股份有限公司 A method for supporting interactive command in command line interface of communication device
CN101267299A (en) * 2007-03-14 2008-09-17 阿里巴巴集团控股有限公司 A method and system for securely display data on the webpage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020191033A1 (en) * 2001-06-15 2002-12-19 Scott Roberts Systems and methods for creating and displaying a user interface for displaying hierarchical data
US20060101390A1 (en) * 2004-10-19 2006-05-11 Microsoft Corporation Lookup control configuration
CN101193109A (en) * 2006-12-01 2008-06-04 中兴通讯股份有限公司 A method for supporting interactive command in command line interface of communication device
CN101267299A (en) * 2007-03-14 2008-09-17 阿里巴巴集团控股有限公司 A method and system for securely display data on the webpage

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107885502A (en) * 2017-11-10 2018-04-06 广州市千钧网络科技有限公司 Interface processing method, processing unit, interface managerial method and managing device
CN107885502B (en) * 2017-11-10 2021-10-15 广州市千钧网络科技有限公司 Interface processing method, processing device, interface management method and management device
WO2019136813A1 (en) * 2018-01-11 2019-07-18 平安科技(深圳)有限公司 Api file management method, server, and storage medium
CN109145588A (en) * 2018-07-27 2019-01-04 平安科技(深圳)有限公司 Data processing method and device
CN109145588B (en) * 2018-07-27 2023-05-05 平安科技(深圳)有限公司 Data processing method and device
CN109086433A (en) * 2018-08-13 2018-12-25 深圳壹账通智能科技有限公司 A kind of file management method and server based on big data analysis
CN111143646A (en) * 2018-11-06 2020-05-12 沈阳美行科技有限公司 Multi-engine search system and implementation method thereof
CN111143646B (en) * 2018-11-06 2023-09-29 沈阳美行科技股份有限公司 Multi-engine search system and implementation method thereof
CN109710571A (en) * 2018-12-27 2019-05-03 腾讯音乐娱乐科技(深圳)有限公司 A kind of document analysis method, equipment and storage medium
CN110704030A (en) * 2019-09-26 2020-01-17 北京达佳互联信息技术有限公司 Interface configuration information generation method and device, electronic equipment and storage medium
CN111767333A (en) * 2020-06-28 2020-10-13 北京思特奇信息技术股份有限公司 Generation method and device, use method and device of active directory
CN112667239A (en) * 2020-12-17 2021-04-16 深圳集智数字科技有限公司 Method and device for acquiring data through Application Programming Interface (API)
CN112667239B (en) * 2020-12-17 2024-05-24 深圳集智数字科技有限公司 Method and device for acquiring data through application programming interface API
CN114553861A (en) * 2022-02-22 2022-05-27 中国工商银行股份有限公司 File transmission method and device, storage medium and electronic equipment
CN114553861B (en) * 2022-02-22 2024-03-08 中国工商银行股份有限公司 File transmission method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN107291459A (en) A kind of method and server for arranging information
CN107426322A (en) A kind of PUSH message target matching method, server, terminal and computer-readable recording medium
CN107577509A (en) A kind of method, terminal and computer-readable recording medium for loading application interface
CN107357718A (en) One kind structure method of testing and device
CN107992517A (en) A kind of data processing method, server and computer-readable medium
CN107592636A (en) A kind of method of processing information, terminal and server
CN107317931A (en) A kind of information processing method, terminal and computer-readable recording medium
CN108648132A (en) According to the method for graphic hotsopt watermark, system, terminal and medium
CN107656966A (en) The method and server of a kind of processing data
CN108241464A (en) A kind of method, terminal and computer readable storage medium for showing chat message
CN108345483A (en) A kind of reminding method of notification message, terminal and computer readable storage medium
CN108255402A (en) Check the method, terminal and computer readable storage medium of footmark content of announcement
CN107491324A (en) A kind of method and terminal for installing application program
CN107733891A (en) A kind of user registering method, server and computer-readable recording medium
CN103218363A (en) Information processing method and device
CN107888663A (en) A kind of method of distribution of document, equipment and computer-readable medium
CN107729306A (en) A kind of text handling method, terminal and computer-readable medium
CN106886364A (en) A kind of text handling method and terminal based on speech recognition
CN110020922A (en) Service matching method, system, terminal and medium based on service platform
CN107800776A (en) A kind of document handling method, terminal, server and computer-readable medium
CN106502647A (en) A kind of method of split screen application compatible processing and terminal
CN108920704A (en) File access pattern method, file restoring device and mobile terminal
CN107506113A (en) A kind of control method of display interface, terminal and computer-readable medium
CN107436836A (en) The processing method and relevant device of a kind of journal file
CN108171063A (en) Method, terminal and the computer readable storage medium of access safety element

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20171024