CN106547605A - Compiled code sending method and compiled code dispensing device - Google Patents
Compiled code sending method and compiled code dispensing device Download PDFInfo
- Publication number
- CN106547605A CN106547605A CN201610866923.4A CN201610866923A CN106547605A CN 106547605 A CN106547605 A CN 106547605A CN 201610866923 A CN201610866923 A CN 201610866923A CN 106547605 A CN106547605 A CN 106547605A
- Authority
- CN
- China
- Prior art keywords
- compiled
- information
- code
- code information
- user
- 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/40—Transformation of program code
- G06F8/41—Compilation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present invention belongs to field of computer technology, discloses compiled code sending method and device, including:First code information to be compiled of receiving user's input, in response to the operation to the described first code information to be compiled that user submits to, the second code information to be compiled for including identification information is generated according to the first code information to be compiled, second code information to be compiled is sent to into compiler server, so that compiler server is compiled according to the second code information to be compiled.The embodiment of the present invention is by writing identification information before compiled code information is submitted to, generation is being submitted to after including the code information to be compiled of identification information, server can be made to be compiled according to the code information to be compiled for including identification information, if server correctly compiles the code information to be compiled that this includes identification information, the submission bag of identification information then can be included by the push after searching server compiling, it is determined that whether the code information to be compiled submitted to is correctly compiled.
Description
Technical field
The embodiment of the present invention belongs to computer realm, more particularly to a kind of compiled code sending method and compiled code send
Device.
Background technology
Inventor is had found during the present invention is realized, when developer carries out code development, the code write is correct,
After but submission code occurs, the situation that code does not come into force.Such that whether developer cannot know current code
Main line has been incorporated into it, or has been incorporated into the code of main line and whether has compiled successfully.When appearance cannot determine whether code compiles
Successfully after situation, developer has to repair code again, checks code logic, adds the daily record (log) of code so that open
Originator wastes the substantial amounts of time on stream.
The content of the invention
Embodiments provide a kind of compiled code sending method and compiled code dispensing device, it is intended to solve existing
After in technology, developer submits code to, it is impossible to know whether current code has been incorporated into main line or has been incorporated into the generation of main line
Whether code compiles successful problem.
A kind of compiled code sending method is embodiments provided, including:
First code information to be compiled of receiving user's input;
It is in response to the operation to the described first code information to be compiled that the user submits to, to be compiled according to described first
Code information generates the second code information to be compiled for including identification information;
Described second code information to be compiled is sent to into compiler server, so that the compiler server is according to described
Two code informations to be compiled are compiled.
The embodiment of the present invention additionally provides a kind of compiled code dispensing device, including:
Receiving unit, for the first code information to be compiled of receiving user's input;
Signal generating unit, for the operation to the described first code information to be compiled submitted in response to the user, according to
First code information to be compiled generates the second code information to be compiled for including identification information;
Transmitting element, for the described second code information to be compiled is sent to compiler server, so that the compiling clothes
Business device is compiled according to the described second code information to be compiled.
Knowable to the embodiments of the present invention, the embodiment of the present invention is by writing before user submits compiled code information to
Identification information, generation include the code information to be compiled of identification information after being submitted to, server can be made according to including
The code information to be compiled for having identification information is compiled, if server correctly compiles the generation to be compiled that this includes identification information
Code information, then user can pass through to search the push after server is compiled and include the submission bag of identification information, determine that oneself carries
Whether the code information to be compiled handed over correctly is compiled.
Description of the drawings
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 embodiment or existing
Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those skilled in the art, without having to pay creative labor, can be with root
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structured flowchart of mobile terminal.
Fig. 2 is a kind of flow chart of compiled code sending method that the embodiment of the present invention one is provided.
Fig. 3 is a kind of flow chart of compiled code sending method that the embodiment of the present invention two is provided.
Fig. 4 is a kind of flow chart of compiled code sending method that the embodiment of the present invention three is provided.
Fig. 5 is a kind of flow chart of compiled code sending method that the embodiment of the present invention four is provided.
Fig. 6 is a kind of flow chart of compiled code sending method that the embodiment of the present invention five is provided.
Fig. 7 is a kind of structural representation of compiled code dispensing device that the embodiment of the present invention six is provided.
Fig. 8 is the structural representation of the signal generating unit that the embodiment of the present invention seven is provided.
Fig. 9 is the structural representation of the signal generating unit that the embodiment of the present invention eight is provided.
Figure 10 is the structural representation of the signal generating unit that the embodiment of the present invention nine is provided.
Figure 11 is the structural representation of the mark writing module that the embodiment of the present invention ten is provided.
Specific embodiment
To enable goal of the invention of the invention, feature, advantage more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described reality
It is only a part of embodiment of the invention to apply example, and not all embodiments.Based on the embodiment in the present invention, people in the art
The every other embodiment obtained under the premise of creative work is not made by member, belongs to the scope of protection of the invention.
Fig. 1 shows a kind of structured flowchart of mobile terminal.Compiled code sending method provided in an embodiment of the present invention can
It is applied in mobile terminal 10 as shown in Figure 1, mobile terminal 10 can be, but not limited to include:Need to remain normal by battery to transport
Row and network and download function are supported, possess composing software and the smart mobile phone of code input function, notebook, flat board can be realized
Computer etc..
As shown in figure 1, mobile terminal 10 includes memorizer 101, storage control 102, one or more (are only illustrated in figure
One) processor 103, Peripheral Interface 104, radio-frequency module 105, key-press module 106, audio-frequency module 107 and Touch Screen
108.These components are mutually communicated by one or more communication bus/holding wire 109.
It is appreciated that the structure shown in Fig. 1 is only illustrated, which does not cause to limit to the structure of mobile terminal.It is mobile whole
End 10 may also include more more than shown in Fig. 1 or less components, or with the configuration different from shown in Fig. 1.Shown in Fig. 1
Each component can be realized using hardware, software or its combination.
Memorizer 101 can be used to store software program and module, the compiled code sender such as in the embodiment of the present invention
Method and the corresponding programmed instruction/module of device, processor 103 by operation be stored in software program in memorizer 101 and
Module, so as to perform various function application and data processing, that is, realizes that above-mentioned mobile terminal 10 nullifies the side of application program
Method.
Memorizer 101 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.In some instances, memorizer 101 can be further included
Relative to the remotely located memorizer of processor 103, these remote memories can be by network connection to mobile terminal 10.On
The example for stating network includes but is not limited to the Internet, intranet, LAN, mobile radio communication and combinations thereof.Processor 103
And access of other possible components to memorizer 101 can be carried out under the control of storage control 102.
Various input/output devices are coupled to CPU and memorizer 101 by Peripheral Interface 104.The operation of processor 103 is deposited
Various softwares in reservoir 101, instruction are performing the various functions of mobile terminal 10 and carry out data processing.
In certain embodiments, Peripheral Interface 104, processor 103 and storage control 102 can be in one single chips
Realize.In some other example, they can be realized by independent chip respectively.
Radio-frequency module 105 be used for receive and send electromagnetic wave, realize the mutual conversion of electromagnetic wave and the signal of telecommunication, so as to
Communication network or other equipment are communicated.Radio-frequency module 105 may include the various existing electricity for performing these functions
Circuit component, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module (SIM) card,
Memorizer etc..Radio-frequency module 105 can with various networks for example the Internet, intranet, preset type wireless network carry out
Communication or the wireless network by preset type are communicated with other equipment.The wireless network of above-mentioned preset type can be wrapped
Include cellular telephone networks, WLAN or Metropolitan Area Network (MAN).The wireless network of above-mentioned preset type can use various communications
Standard, agreement and technology, including but not limited to global system for mobile communications (Global System for Mobile
Communication, GSM), enhancement mode mobile communication technology (Enhanced Data GSM Environment, EDGE) is wide
Band CDMA (Wideband Code Division Multiple Access, W-CDMA), CDMA
(Code Division Access, CDMA), tdma (Time Division Multiple Access, TDMA),
Bluetooth, adopting wireless fidelity technology (Wireless-Fidelity, WiFi) is (such as IEEE-USA's standard IEEE
802.11a, IEEE 802.11b, IEEE802.11g and/or IEEE 802.11n), the networking telephone (Voice over
Internet Protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for
Microwave Access, Wi-Max), other are used for agreements of mail, instant messaging and short message, and any other is suitable
Communications protocol.
Key-press module 106 provides the interface that is input into mobile terminal of user, user can by press it is different by
Key is so that mobile terminal 10 performs different functions.
Audio-frequency module 107 provides a user with audio interface, and which may include one or more mikes, one or more raises
Sound device and voicefrequency circuit.Voicefrequency circuit receives voice data from Peripheral Interface 104, and voice data is converted to electrical information,
Electrical information is transmitted to speaker.Electrical information is converted to speaker the sound wave that human ear can be heard.Voicefrequency circuit is also from mike
Place receives electrical information, converts electrical signals to voice data, and by data transmission in network telephony to Peripheral Interface 104 entering traveling one
The process of step.Voice data can be obtained from memorizer 101 or by radio-frequency module 105.Additionally, voice data can also
Store into memorizer 101 or be transmitted by radio-frequency module 105.In some instances, audio-frequency module 107 may also include
One earphone broadcasts hole, for providing audio interface to earphone or other equipment.
Touch Screen 108 provides an output and inputting interface between mobile terminal and user simultaneously.Specifically, touch-control
Screen 108 displays to the user that video frequency output, and the content of these video frequency outputs may include word, figure, video and its any group
Close.Some output results correspond to some user interface objects.The input of the also receive user of Touch Screen 108, such as user
Click, the gesture operation such as slip, so that input of the user interface object to these users is responded.Detection user input
Technology can be based on resistance-type, condenser type or other any possible touch control detection technologies.108 display unit of Touch Screen
Instantiation include but is not limited to liquid crystal display or light emitting polymer displays.
Fig. 2 show the present invention offer first embodiment, a kind of compiled code sending method, including:
S1, the first code information to be compiled of receiving user's input.
In this step, user is input into code information to be compiled by the mobile terminal in Fig. 1, or computer end, compiles generation
The first code information to be compiled that receive user is input into by code dispensing device by composing software.
S2, in response to the operation to the described first code information to be compiled that the user submits to, treats according to described first
Compiled code information generates the second code information to be compiled for including identification information.
In this step, when detect user's submission to the operation of the described first code information to be compiled when, compile generation
Code dispensing device is generated according to preset submission form according to the first code information to be compiled to be committed and includes mark letter
Second code information to be compiled of breath.The identification information can be carried out according to the type of the code information to be compiled submitted to by user
Arrange, or fixed identification information, be not limited herein.
Described second code information to be compiled is sent to compiler server by S3, so that the compiler server is according to institute
State the second code information to be compiled to be compiled.
In this step, the include identification information second code information to be compiled is sent to by compiled code dispensing device
After compiler server, the second code information to be compiled that compiler server will be received according to normal compiling flow process compiling.Compile
After the completion of server is translated by the second code information compiling to be compiled, will send according to normal push mode and push bag.
User be directed to a certain program or and a certain software programming more fresh code or other effect code when because use
After the compiled server compiling of code information to be compiled that family is write, the push bag name for pushing out is consistent, and user can only
Judge whether the code information to be compiled oneself write is compiled clothes according to the existing ruuning situation of the program or the software
Business device correctly compiles and is incorporated into main line, if the program or software problem to be solved submit code letter to be compiled in user
It has been corrected after breath, has illustrated that compiler server is correctly compiled, but if the program or software problem before this has not been solved
Certainly, user will have no way of knowing.By the present embodiment, user can obtain the code information to be compiled of oneself by different modes
Compiling situation, such as user, are used when certain program renewal is carried out after sending compiled code information, under developer's pattern of mobile phone
Family can be made a look up according to the identification information write in last submission to compiled code, if finding comprising the identification information
Bag is pushed, and now the program does not update, then may determine that more new procedures to be not carried out after compiler server compiling, or be incorporated into master
Occurs bug when line.Requiring emphasis is, in the present embodiment, the code information to be compiled for being defaulted as user input is just
Really code, not there are bug, be not in cause compiling because the first code information to be compiled of user input there is bug
The problem that server correctly cannot be compiled.
On the basis of first embodiment, the invention provides second embodiment as shown in Figure 3, described in response to described
The operation to the described first code information to be compiled that user submits to, generates according to the code information to be compiled and includes mark
The code information to be compiled of information, including:
S211, in response to the operation to the described first code information to be compiled that the user submits to, obtains the operation
Temporal information.
In this step, after detecting user and submitting the operation of code information to be compiled to, compiled code dispensing device will be from
The dynamic time point information for obtaining the operation to the described first code information to be compiled that user submits to, such as user is 17:05 touches
Send out the operation for submitting code information to be compiled to, then compiled code dispensing device will obtain the temporal information of the operation, i.e., 17:05.
The temporal information is write first code information to be compiled by S212, includes temporal information to generate
Second code information to be compiled.
In this step, after obtaining the temporal information of operation that user submits code information to be compiled to, compiled code sends
Device is by the first code information to be compiled of the temporal information write user input.Specifically, in practical operation, user makes
It is input into after the code to be compiled of big length with the incoming page of compiler, clicks on and submit to, compiled code dispensing device will exists automatically
The least significant end of the incoming page writes submission time, and generation includes the second code information to be compiled of temporal information.
Accordingly, it is described that described second code information to be compiled is sent to into compiler server, so that the compiling service
Device according to the described second code information to be compiled be compiled including:
Second code information to be compiled for including temporal information is sent to compiler server, so that described by S31
Compiler server is compiled according to the described second code information to be compiled.
In the present embodiment, after the operation for detecting user's submission code information to be compiled, compiled code dispensing device will
Automatically the temporal information that user submits operation to is obtained, and the temporal information for obtaining is write the first code to be compiled of user input
In information, the second code information to be compiled for including temporal information for generating is sent to into compiler server.The present embodiment energy
It is enough to obtain automatically temporal information when user submits code information to be compiled to, should not user be manually entered.It should be understood that
, in the present embodiment, compiled code dispensing device only automatically obtain user submit to code information to be compiled operation when
Between point, but in actual applications, after automatically obtaining temporal information, can be with the accounts information of user, or user
Preset signing messages, is not limited herein.
The present invention on the basis of second embodiment additionally provides 3rd embodiment as shown in Figure 4, includes described
Second code information to be compiled of temporal information is sent to compiler server to be included:
S32, generates and sends confirmation request information, and the described second code information to be compiled and the transmission confirmation request are believed
Breath is sent to compiler server.
In this step, generate have the second code information to be compiled comprising temporal information send to compiler server it
Before, the second code information to be compiled for including temporal information according to this is generated and sends confirmation request by compiled code dispensing device
Information, and second code information to be compiled and the transmission confirmation request information are sent to into compiler server simultaneously.Should manage
Solve, in the present embodiment for sake of clarity, confirmation request information will be sent and the second code information to be compiled is divided into
Two different information go description, but in actual applications, can will send confirmation request information and write for the second generation to be compiled
In code information, generate comprising the 3rd code information to be compiled for including temporal information again comprising transmission confirmation request information,
Then the 3rd code information to be compiled is sent to compiler server by compiled code dispensing device, is not repeated herein.
Accordingly, it is described by second code information to be compiled for including temporal information be sent to compiler server it
Afterwards, also include:
S33, receives the compiler server according to what the transmission confirmation request information sent and has been received by described second
The confirmation of code information to be compiled, and preserve.
In this step, compiled code dispensing device receives compiler server and feeds back to confirmation and preserve.Compiling generation
Code dispensing device preserves the confirmation and can preserve in the form of a list, true per one second code information correspondence to be compiled
Recognize information, user, can be by the temporal information that includes in the second code information to be compiled come quick when subsequently making a look up
Find corresponding confirmation.The preservation of confirmation can be realized by following form specifically.Carry user is detected
When handing over the operation of the first code information to be compiled, by obtain user submit to operation temporal information, by temporal information and this first
Code information to be compiled is saved with tabular form, in the confirmation for receiving compiler server feedback, by the confirmation letter
Breath is added in corresponding list, forms the preservation mode of " code information --- temporal information --- confirmation to be compiled ",
User is facilitated to make a look up.
In the present embodiment while the second code information to be compiled is sent to compiler server, will send in the lump and confirm
Solicited message is sent to compiler server.By compiler server feed back confirmation, user confirm oneself submit to wait compile
Translate whether code information is submitted to successfully, if submitting to successfully, compiler server is not correctly compiled or is incorporated into main line, it can be determined that be
The problem of compiler server, it is not necessary to which to be compiled code information of the user to the submission of oneself is checked or changed.
On the basis of first embodiment, present invention also offers fourth embodiment as shown in Figure 5, described in response to institute
The operation to the described first code information to be compiled of user's submission is stated, is generated according to the described first code information to be compiled and is included
The second code information to be compiled for having identification information includes:
S221, when detecting that the user submits to the operation of the described first code information to be compiled, output prompting
Information, the information are used to remind whether user needs to write identification information.
For no service condition, in this step, believing to the described first code to be compiled for user's submission is being detected
During the operation of breath, prompting message will be exported, user can according to oneself be actually needed or currently submit to first wait to compile
The function realized by code information is translated, chooses whether to need to write identification information.
S222, if receive user to select to write the instruction of identification information, by the described first code to be compiled
Information is sent to compiler server, so that the compiler server is compiled according to the described first code information to be compiled.
This step detect user select need not write the operation of identification information after, will directly by the first generation to be compiled
Code information is sent to compiler server.
S223, if receiving the instruction that user selects write identification information, obtains temporal information and the institute of the operation
The accounts information of user is stated, the temporal information and accounts information are write into first code information to be compiled, generation is included
There is the second code information to be compiled of temporal information and accounts information.
When the operation of user's selection write identification information is detected, compiled code dispensing device is obtained user's automatically
Accounts information and submit the temporal information of operation to, and write the first code information to be compiled and include temporal information and use to generate
Second code information to be compiled of the accounts information at family.
In the present embodiment, user can choose whether to write identification information according to practical operation, it is possible to according to write
Identification information is subsequently searched.It should be understood that in the present embodiment, compiled code dispensing device obtains user automatically
Accounts information and submit to operation temporal information, in actual applications, accounts information can include user account name, or
The signature data of user, or other convenient follow-up identification informations searched that user is arranged, are not repeated herein.
On the basis of fourth embodiment, the present invention also provides the 5th embodiment as shown in Figure 6, if described receive use
Family selects the instruction of write identification information, then obtain the temporal information of the operation and the accounts information of the user, will be described
Temporal information and accounts information write first code information to be compiled, and generation includes the of temporal information and accounts information
Two code informations to be compiled include:
S2231, if receiving the instruction that the user selects write identification information, shows inputting interface, the input
Interface is used for the temporal information and accounts information of receiving user's input.
In this step, if detecting the operation that user selects write identification information, compiled code dispensing device will compiled
Translator program showing interface inputting interface, user can be in the inputting interface input time information and accounts informations.In concrete application
In, user in addition to can be with input time information and accounts information can also be input into and be easy to oneself follow-up signature data searched,
It is not limited herein.
The temporal information of user input and accounts information are write first code information to be compiled, generate bag by S2232
The second code information to be compiled containing temporal information and accounts information.
An embodiment that user can be facilitated voluntarily to be input into identification information is present embodiments provided, user is selecting to write
After the option of inlet identity information, the convenient follow-up identification information searched can be input into according to practical situation.Specifically, user can be with
Selection merely enters temporal information, it is also possible to which selection merely enters accounts information, or while input time information and accounts information, when
So, other simple characters such as ABCD or pure digi-tal etc. be can also be.
Above-described embodiment that the present invention is provided, by when detecting user and submitting the operation of code information to be compiled to,
The second code information to be compiled is generated after identification information is write in first code information to be compiled, the of identification information will be included
Two code informations to be compiled are sent to compiler server.Compiler server is carried out in the second code information to be compiled to receiving
After compiling, user can search whether code of the push bag of compiler server push to confirm oneself submission is compiled successfully,
Specifically, under developer's pattern of mobile phone, user can according to oneself submit to bag name, check oneself submission code when
Between.If compiler server is not correctly compiled, then the submission time in the identification information of user's write would not be write
Enter, such user can be by inquiring about this document so as to know whether the code of oneself is compiled successfully.It is unnecessary to avoid
Time wastes.
In above-described embodiment that the present invention is provided, include identification information generating according to the first code information to be compiled
The second code information to be compiled during, can be mark that compiled code dispensing device obtains that user pre-sets automatically
Information or user submit the mark letter of the temporal information of the operation of code, or user oneself input before submission to
Breath.Compiled code dispensing device generates the step of including the second code information to be compiled of identification information can be by above-mentioned each tool
Obtain in body embodiment, or combined according to the various embodiments described above and obtained, the various embodiments described above are intended merely to elaboration side
Just it is described separately, but those skilled in the art can include second by the accomplished generation of above-described embodiment independent assortment to be treated
The step of compiled code information, do not repeat herein.
Present invention also offers sixth embodiment as shown in Figure 7, a kind of compiled code dispensing device, including:
Receiving unit 1, for the first code information to be compiled of receiving user's input.
User is input into code information to be compiled by mobile terminal, or computer end, and receive user is passed through by receiving unit 1
First code information to be compiled of composing software input.
Signal generating unit 2, for the operation to the described first code information to be compiled submitted in response to the user, according to
First code information to be compiled generates the second code information to be compiled for including identification information.
When detect user's submission to the operation of the first code information to be compiled when, signal generating unit 2 is by according to preset
Submit form to, the second code letter to be compiled for including identification information is generated according to the first code information to be compiled to be committed
Breath.The identification information can be configured according to the type of the code information to be compiled submitted to by user, or fixed
Identification information, is not limited herein.
Transmitting element 3, for the described second code information to be compiled is sent to compiler server, so that the compiling clothes
Business device is compiled according to the described second code information to be compiled.
Transmitting element 3 is sent to the include identification information second code information to be compiled after compiler server, compiling
The second code information to be compiled that server will be received according to normal compiling flow process compiling.Compiler server is waited to compile by second
After the completion of translating code information compiling, will send according to normal push mode and push bag.
User be directed to a certain program or and a certain software programming more fresh code or other effect code when because use
After the compiled server compiling of code information to be compiled that family is write, the push bag name for pushing out is consistent, and user can only
Judge whether the code information to be compiled oneself write is compiled server according to the existing situation of the program or the software
Main line is correctly compiled and is incorporated into, if the program or software problem to be solved are after user submits code information to be compiled to
It has been corrected, has illustrated that compiler server is correctly compiled, but if the program or software problem before this is unresolved, has used
To have no way of knowing in family.By the present embodiment, user can obtain the compiling of the code information to be compiled of oneself by different modes
Situation, such as user when carrying out certain program and updating, after sending compiled code information, under developer's pattern of mobile phone, Yong Huke
To be made a look up according to the identification information write in last submission to compiled code, if finding the push comprising the identification information
Bag, and now the program does not update, then may determine that to be not carried out more new procedures after compiler server compiling, or it is incorporated into main line
When there is bug.Requiring emphasis is, in the present embodiment, the code information to be compiled for being defaulted as user input is correct generation
Code, not there are bug, be not in cause compiling service because the first code information to be compiled of user input there is bug
The problem that device correctly cannot be compiled.
As shown in figure 8, for the 7th embodiment that provides of the present invention, signal generating unit 2 includes:
Time-obtaining module 21, for the behaviour to the described first code information to be compiled submitted in response to the user
Make, obtain the temporal information of the operation.
When detect user's submission to the operation of the described first code information to be compiled after, time-obtaining module 21 will be from
Dynamic to obtain the time point information that user submits the operation of code information to be compiled to, such as user is 17:05 triggering submits to be compiled to
The operation of code information, then time-obtaining module 21 will obtain the operation temporal information, i.e., 17:05.
Code writing module 22, for the temporal information is write first code information to be compiled, to generate bag
The second code information to be compiled containing temporal information.
After obtaining the temporal information of operation that user submits code information to be compiled to, the time is believed by code writing module 22
In first code information to be compiled of breath write user input.Specifically, in practical operation, user is defeated using compiler
After entering the code to be compiled of the big length of page input, click on and submit to, code writing module 22 is by automatically in the least significant end of the incoming page
Submission time is write, generation includes the second code information to be compiled of temporal information.
Then corresponding, transmitting element 3 is specifically for second code information to be compiled for including temporal information is sent out
Compiler server is given, so that the compiler server is compiled according to the described second code information to be compiled.
After the operation for detecting user's submission code information to be compiled, time-obtaining module 21 is obtained automatically user and is carried
Hand over the temporal information of operation, first to be compiled code letter of the code writing module 22 the temporal information write user input for obtaining
In breath, the second code information to be compiled for including temporal information for generating is sent to compiler server by transmitting element 3.This reality
Apply example can user submit to code information to be compiled when, obtain automatically temporal information, should not user be manually entered.Should
It is understood that, in the present embodiment, time-obtaining module 21 obtains the operation that user submits code information to be compiled to automatically
Time point, but in actual applications, after automatically obtaining temporal information, can with the accounts information of user, or
The preset signing messages of user, is not limited herein.
As shown in figure 9, for the 8th embodiment that provides of the present invention, transmitting element 3 also includes:
Request sending module 31, sends confirmation request information for generating, by the described second code information to be compiled and institute
State transmission confirmation request information and be sent to compiler server.
There is the second code information to be compiled comprising temporal information to send to before compiler server generating, request sends
Module 31 will generate the confirmation request information that sends according to second code information to be compiled for including temporal information, and by this
Two code informations to be compiled and the transmission confirmation request information are sent to compiler server simultaneously.It should be understood that at this
For sake of clarity in embodiment, confirmation request information will be sent and be divided into two different information with the second code information to be compiled
Description is gone, but in actual applications, can will be sent confirmation request information and be write in the second code information to be compiled, generate bag
Containing threeth to be compiled code information of the temporal information again comprising transmission confirmation request information is included, then compiled code sends
3rd code information to be compiled is sent to compiler server by device, is not repeated herein.
Preserving module 32 is received, and is received the compiler server and the reception that confirmation request information sends is sent according to described
To the confirmation of the described second code information to be compiled, and preserve.
Receive the reception compiler server of preserving module 32 to feed back to confirmation and preserve.Receiving the preservation of preserving module 32 should
Confirmation can be preserved in the form of a list, and per one second one confirmation of code information correspondence to be compiled, user is rear
It is continuous when making a look up, corresponding confirmation can quickly be found by the temporal information included in the second code information to be compiled
Information.The preservation of confirmation can be realized by following form specifically.The first code to be compiled is submitted to user is detected
During the operation of information, user will be obtained submit to the temporal information of operation, by temporal information and first code information to be compiled with
Tabular form is saved, and in the confirmation for receiving compiler server feedback, the confirmation is added to corresponding row
The preservation mode of " code information --- temporal information --- confirmation to be compiled " in table, is formed, facilitates user to make a look up.
In the present embodiment while the second code information to be compiled is sent to compiler server, request sending module 31
Confirmation request information will be sent in the lump is sent to compiler server.The confirmation fed back by compiler server, user are confirmed
Whether the code information to be compiled oneself submitted to is submitted to successfully, if submitting to successfully, compiler server is not correctly compiled or is incorporated into
Main line, it can be determined that be the problem of compiler server, it is not necessary to which to be compiled code information of the user to the submission of oneself is examined
Look into or change.
As shown in Figure 10, the 9th embodiment for providing for the present invention, signal generating unit 2 also include:
Prompting output module 24, for as the behaviour to the described first code information to be compiled for detecting user's submission
When making, information is exported, the information is used to remind whether user needs to write identification information.
For no service condition, when the operation of user's submission code information to be compiled is detected, output mould is pointed out
Block 24 will export prompting message, and user can be according to the code information institute to be compiled for being actually needed or currently submitting to of oneself
The function of realization, chooses whether to need to write identification information.
Module 25 is directly transmitted, if selecting to write the instruction of identification information for receiving user, will be described
First code information to be compiled is sent to compiler server, so that the compiler server is according to the described first code letter to be compiled
Breath is compiled.
Directly transmit module 25 detect user select need not write the operation of identification information after, will directly by first
Code information to be compiled is sent to compiler server.
Mark writing module 26, if the instruction of write identification information is selected for receiving user, obtains the operation
Temporal information and the user accounts information, the temporal information and accounts information are write into first code to be compiled
Information, generation include the second code information to be compiled of temporal information and accounts information.
When the operation of user's selection write identification information is detected, the account that writing module 26 is obtained user automatically is identified
Family information and submit the temporal information of operation to, and write the first code information to be compiled and include temporal information and user to generate
Accounts information the second code information to be compiled.
In the present embodiment, user can choose whether to write identification information according to practical operation, it is possible to according to write
Identification information is subsequently searched.It should be understood that in the present embodiment, identify writing module 26 and obtain automatically user's
Accounts information and the temporal information of submission operation, in actual applications, accounts information can include the account name of user, Huo Zheyong
The signature data at family, or other convenient follow-up identification informations searched that user is arranged, are not repeated herein.
As shown in figure 11, the tenth embodiment for providing for the present invention, mark writing module 26 include:
Show submodule 261, if the instruction of write identification information is selected for receiving the user, show input circle
Face, the inputting interface are used for the temporal information and accounts information of receiving user's input.
If detecting the operation that user selects write identification information, show that submodule 261 will be in compiler showing interface
Inputting interface, user can be in the inputting interface input time information and accounts informations.In a particular application, user is except can be with
Outside input time information and accounts information, can also be input into and be easy to oneself follow-up signature data searched, not be limited herein.
Write submodule 262, for the temporal information of user input and accounts information are write first generation to be compiled
Code information, generation include the second code information to be compiled of temporal information and accounts information.
An embodiment that user can be facilitated voluntarily to be input into identification information is present embodiments provided, user is selecting to write
After the option of inlet identity information, the convenient follow-up identification information searched can be input into according to practical situation.Specifically, user can be with
Selection merely enters temporal information, it is also possible to which selection merely enters accounts information, or while input time information and accounts information, when
So, other simple characters such as ABCD or pure digi-tal etc. be can also be.
Above-described embodiment that the present invention is provided, by when detecting user and submitting the operation of code information to be compiled to,
The second code information to be compiled is generated after identification information is write in first code information to be compiled, the of identification information will be included
Two code informations to be compiled are sent to compiler server.Compiler server is carried out in the second code information to be compiled to receiving
After compiling, user can search whether code of the push bag of compiler server push to confirm oneself submission is compiled successfully,
Specifically, under developer's pattern of mobile phone, user can according to oneself submit to bag name, check oneself submission code when
Between.If compiler server is not correctly compiled, then the submission time in the identification information of user's write would not be write
Enter, such user can be by inquiring about this document so as to know whether the code of oneself is compiled successfully.It is unnecessary to avoid
Time wastes.
In above-described embodiment that the present invention is provided, include identification information generating according to the first code information to be compiled
The second code information to be compiled during, can be mark that compiled code dispensing device obtains that user pre-sets automatically
Information or user submit the mark letter of the temporal information of the operation of code, or user oneself input before submission to
Breath.Compiled code dispensing device generates the step of including the second code information to be compiled of identification information can be by above-mentioned each tool
Obtain in body embodiment, or combined according to the various embodiments described above and obtained, the various embodiments described above are intended merely to elaboration side
Just it is described separately, but those skilled in the art can include second by the accomplished generation of above-described embodiment independent assortment to be treated
The step of compiled code information, do not repeat herein.
Eleventh embodiment of the invention additionally provides a kind of terminal for performing compiled code sending method, for the ease of
Illustrate, illustrate only the part related to the embodiment of the present invention, particular technique details is not disclosed, and refer to the embodiment of the present invention
Method part.The terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, individual number
Word assistant), desktop computer, vehicle-mounted computer etc. enter the terminal of line code input operation.
The terminal includes:One or more processor, memorizer and one or more program (module).Wherein should
One or more program (module) is stored in the memorizer, when by one or more computing device, the process
Device performs following operation:
First code information to be compiled of receiving user's input;
It is in response to the operation to the described first code information to be compiled that the user submits to, to be compiled according to described first
Code information generates the second code information to be compiled for including identification information;
Described second code information to be compiled is sent to into compiler server, so that the compiler server is according to described
Two code informations to be compiled are compiled.
In the present embodiment, after the first code information to be compiled of terminal receiving user's input, can carry user is detected
After handing over the operation of the code information to be compiled, generated comprising identification information according to the first code information to be compiled of user input
Second code information to be compiled, and the second code information to be compiled is sent to into compiler server.User can search compiling clothes
Whether the push bag that business device is pushed, have confirmed that the code oneself submitted to be compiled server compiling or be incorporated into main line.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, which can be passed through
Its mode is realized.For example, device embodiment described above is only schematically, for example division of the module, only
Only a kind of division of logic function, can have other dividing mode when actually realizing, such as multiple module or components can be tied
Close or be desirably integrated into another system, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Coupling each other or direct-coupling or communication connection can be the INDIRECT COUPLINGs by some interfaces, device or module or logical
Letter connection, can be electrical, mechanical or other forms.
The module as separating component explanation can be or may not be it is physically separate, it is aobvious as module
The part for showing can be or may not be physical module, you can local to be located at one, or can also be distributed to multiple
On mixed-media network modules mixed-media.Some or all of module therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional module in each embodiment of the invention can be integrated in a processing module, it is also possible to
It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated mould
Block both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
If the integrated module is realized and as independent production marketing or use using in the form of software function module
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions
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 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 store journey
The medium of sequence code.
It should be noted that for aforesaid each method embodiment, for easy description, therefore which is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because
According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module might not all be these
It is bright necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiments.
It is more than the description to compiled code sending method provided by the present invention and compiled code dispensing device, for this
The technical staff in field, according to the thought of the embodiment of the present invention, has change in specific embodiments and applications
Place, to sum up, this specification content should not be construed as limiting the invention.
Claims (10)
1. a kind of compiled code sending method, it is characterised in that include:
First code information to be compiled of receiving user's input;
In response to the operation to the described first code information to be compiled that the user submits to, according to the described first code to be compiled
Information generates the second code information to be compiled for including identification information;
Described second code information to be compiled is sent to into compiler server, so that the compiler server is treated according to described second
Compiled code information is compiled.
2. compiled code sending method as claimed in claim 1, it is characterised in that it is described in response to the user submit to it is right
The operation of first code information to be compiled, generates according to the code information to be compiled and includes the to be compiled of identification information
Code information, including:
In response to the operation to the described first code information to be compiled that the user submits to, the time letter of the operation is obtained
Breath;
The temporal information is write into first code information to be compiled, includes the second to be compiled of temporal information to generate
Code information;
Accordingly, it is described that described second code information to be compiled is sent to into compiler server, so that the compiler server root
According to the described second code information to be compiled be compiled including:
Second code information to be compiled for including temporal information is sent to into compiler server, so that the compiling service
Device is compiled according to the described second code information to be compiled.
3. compiled code sending method as claimed in claim 2, it is characterised in that described by the temporal information that includes
Second code information to be compiled is sent to compiler server to be included:
Generate and send confirmation request information, the described second code information to be compiled and the transmission confirmation request information are sent to
Compiler server;
Accordingly, it is described second code information to be compiled for including temporal information is sent to into compiler server after,
Also include:
Receive the compiler server and had been received by for the described second generation to be compiled according to what the transmission confirmation request information sent
The confirmation of code information, and preserve.
4. compiled code sending method as claimed in claim 1, it is characterised in that it is described in response to the user submit to it is right
The operation of first code information to be compiled, generates according to the described first code information to be compiled and includes the of identification information
Two code informations to be compiled include:
When detecting that the user submits to the operation of the described first code information to be compiled, information is exported, it is described
Information is used to remind whether user needs to write identification information;
If receiving user to select to write the instruction of identification information, the described first code information to be compiled is sent to
Compiler server, so that the compiler server is compiled according to the described first code information to be compiled;
If receiving the instruction that user selects write identification information, the temporal information of the operation and the account of the user are obtained
The temporal information and accounts information are write first code information to be compiled by family information, and generation includes temporal information
With the second of accounts information the code information to be compiled.
5. compiled code sending method as claimed in claim 4, it is characterised in that receive user and select write mark if described
The instruction of knowledge information, then obtain the temporal information of the operation and the accounts information of the user, by the temporal information and account
Family information writes first code information to be compiled, and generation includes the second code to be compiled of temporal information and accounts information
Information includes:
If receiving the instruction that the user selects write identification information, show inputting interface, the inputting interface is used to connect
Receive the temporal information and accounts information of user input;
The temporal information of user input and accounts information are write into first code information to be compiled, generation includes time letter
Second code information to be compiled of breath and accounts information.
6. a kind of compiled code dispensing device, it is characterised in that include:
Receiving unit, for the first code information to be compiled of receiving user's input;
Signal generating unit, for the operation to the described first code information to be compiled submitted in response to the user, according to described
First code information to be compiled generates the second code information to be compiled for including identification information;
Transmitting element, for the described second code information to be compiled is sent to compiler server, so that the compiler server
It is compiled according to the described second code information to be compiled.
7. compiled code dispensing device as claimed in claim 6, it is characterised in that the signal generating unit includes:
Time-obtaining module, for the operation to the described first code information to be compiled submitted in response to the user, obtains
The temporal information of the operation;
Code writing module, for the temporal information is write first code information to be compiled, when being included with generation
Between information the second code information to be compiled;
Accordingly, the transmitting element specifically for:
Second code information to be compiled for including temporal information is sent to into compiler server, so that the compiling service
Device is compiled according to the described second code information to be compiled.
8. compiled code dispensing device as claimed in claim 7, it is characterised in that the transmitting element includes:
Request sending module, sends confirmation request information for generating, by the described second code information to be compiled and the transmission
Confirmation request information is sent to compiler server;
Receive preserving module, receive the compiler server according to it is described send that confirmation request information sends have been received by described in
The confirmation of the second code information to be compiled, and preserve.
9. compiled code dispensing device as claimed in claim 6, it is characterised in that the signal generating unit also includes:
Prompting output module, for when detecting that the user submits to the operation of the described first code information to be compiled,
Output information, the information are used to remind whether user needs to write identification information;
Module is directly transmitted, if selecting to write the instruction of identification information for receiving user, described first is treated
Compiled code information is sent to compiler server, so that the compiler server is carried out according to the described first code information to be compiled
Compiling;
Mark writing module, if the instruction of write identification information is selected for receiving user, obtains the time of the operation
The temporal information and accounts information are write first code information to be compiled by information and the accounts information of the user,
Generation includes the second code information to be compiled of temporal information and accounts information.
10. compiled code dispensing device as claimed in claim 9, it is characterised in that the mark writing module includes:
Show submodule, if the instruction of write identification information is selected for receiving the user, show inputting interface, it is described
Inputting interface is used for the temporal information and accounts information of receiving user's input;
Write submodule, for the temporal information of user input and accounts information are write first code information to be compiled,
Generation includes the second code information to be compiled of temporal information and accounts information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610866923.4A CN106547605A (en) | 2016-09-29 | 2016-09-29 | Compiled code sending method and compiled code dispensing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610866923.4A CN106547605A (en) | 2016-09-29 | 2016-09-29 | Compiled code sending method and compiled code dispensing device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106547605A true CN106547605A (en) | 2017-03-29 |
Family
ID=58368163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610866923.4A Pending CN106547605A (en) | 2016-09-29 | 2016-09-29 | Compiled code sending method and compiled code dispensing device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106547605A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112099800A (en) * | 2020-09-27 | 2020-12-18 | 中国建设银行股份有限公司 | Code data processing method and device and server |
CN112637086A (en) * | 2020-12-11 | 2021-04-09 | 苏州浪潮智能科技有限公司 | Communication method, system and medium based on module automatic compiling |
CN112912837A (en) * | 2018-11-08 | 2021-06-04 | 北京比特大陆科技有限公司 | Neural network compiling method, device, equipment, storage medium and program product |
-
2016
- 2016-09-29 CN CN201610866923.4A patent/CN106547605A/en active Pending
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112912837A (en) * | 2018-11-08 | 2021-06-04 | 北京比特大陆科技有限公司 | Neural network compiling method, device, equipment, storage medium and program product |
CN112912837B (en) * | 2018-11-08 | 2024-02-13 | 北京比特大陆科技有限公司 | Neural network compiling method, device, equipment, storage medium and program product |
CN112099800A (en) * | 2020-09-27 | 2020-12-18 | 中国建设银行股份有限公司 | Code data processing method and device and server |
CN112099800B (en) * | 2020-09-27 | 2024-03-08 | 中国建设银行股份有限公司 | Code data processing method, device and server |
CN112637086A (en) * | 2020-12-11 | 2021-04-09 | 苏州浪潮智能科技有限公司 | Communication method, system and medium based on module automatic compiling |
CN112637086B (en) * | 2020-12-11 | 2022-12-27 | 苏州浪潮智能科技有限公司 | Communication method, system and medium based on module automatic compiling |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8210433B2 (en) | Terminal, method and computer program product for interacting with a signaling tag | |
CN105528229B (en) | Improve the method and device that mobile terminal first powers on speed | |
CN105100141B (en) | Multimedia content network sharing method, apparatus and system | |
CN106033337A (en) | Instant-messaging emoticon generating method and device | |
CN103636273A (en) | Method and apparatus for improving reception availability on multi-subscriber identity module devices | |
CN102598035A (en) | Method and apparatus for augmented social networking messaging | |
CN109951400A (en) | Instruction sending method, device, electronic equipment and the readable storage medium storing program for executing of terminal | |
CN104754563A (en) | Wireless hotspot access sharing method, mobile terminals and system | |
CN105930084A (en) | Screenshot picture editing method and apparatus | |
CN106547605A (en) | Compiled code sending method and compiled code dispensing device | |
CN105892822A (en) | Mobile terminal and rapid setting method and device thereof | |
CN104917724A (en) | Identity verification method and apparatus | |
CN104615414A (en) | Channel packet customization method and device | |
CN106294707A (en) | A kind of countdown information output intent and device | |
CN106708240A (en) | Power saving method, server and power saving system | |
CN107172313A (en) | Improve method, device, mobile terminal and the storage medium of hand-free call quality | |
CN104092720B (en) | The sharing method of playlist and device | |
CN105824509A (en) | Method and device for arranging icons | |
CN107682553A (en) | Speech signal sending method, device, mobile terminal and storage medium | |
TW201242392A (en) | System and method for sharing group | |
CN106131944B (en) | The processing method and processing unit of specific absorption rate | |
CN105808061A (en) | Desktop arranging method and mobile terminal | |
CN105719141A (en) | Payment method and device | |
CN111400457A (en) | Text query method and device and terminal equipment | |
CN106657703A (en) | NV (nonvolatile) parameter import method, modem and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170329 |
|
WD01 | Invention patent application deemed withdrawn after publication |