A kind of online application platform and control method thereof
[technical field]
The present invention relates to internet arena, particularly a kind of online application platform and control method thereof.
[background technology]
Along with science and technology development, the online application platform technology in the internet becomes more and more general.In the conventional online application platform technology, the developer uploads to online application platform with the online application of being developed, and online application platform further offers the Internet user with online application and uses.
Yet, in the prior art, after the developer finishes the exploitation of online application and uploads to online application platform, promptly obtain the URL (Uniform Resource Locator, URL(uniform resource locator)) of this online application.As long as obtaining the URL of this online application, the visitor just can visit this online application.Concerning online application platform, may cause user experience not good owing to not to the online problems such as causing Huang is anti-, copyright, virus of examining of this application.In addition, even if online application audit is passed through, the developer also can at random revise online application, can't control malice developer after online application is reached the standard grade by audit, it be made amendment, this can cause problems such as Huang is anti-, copyright, virus equally, cause safety problem, also user experience is influenced to some extent.
[summary of the invention]
Technical matters to be solved by this invention provides a kind of online application platform and control method thereof, and it has promoted the security of online application platform by increasing the review mechanism of online application, has strengthened the user experience effect.
The invention provides a kind of control method of online application platform, comprising: version under the line of the online application that a. reception developer submits to; Whether the rights state of b. judging version under the described line formerly is that audit is by state or treat the reexamination state; If the rights state of version is for examining by state or treating the reexamination state under the described line formerly, the rights state of version is set to treat the reexamination state under the then described line, wherein said audit is general rights state by state, and the described reexamination state for the treatment of is the specified permission state; C. examine version under the described line; D. pass through if examine, the rights state of version is set to the general rights state that allows general visitor to conduct interviews under the then described line, and be version on the line of described online application with version unloading under the described line, the rights state of version is set to general rights state on the described simultaneously line.
According to one preferred embodiment of the present invention, in described steps d, if audit is passed through, the rights state of version is set to examine and passes through state under the then described line.
According to one preferred embodiment of the present invention, described control method further comprises: e. is not if audit is passed through, and the rights state of version is set to audit not by state under the then described line, and described audit is not the specified permission state by state.
According to one preferred embodiment of the present invention, described control method further comprises: in described step b, utilize version under the described line to replace version under the first front of described online application, in described steps d, utilize version on the described line to replace version on the line formerly of described online application.
According to one preferred embodiment of the present invention, described step b further comprises:
Whether the rights state of b1. judging version under the line formerly of described online application is for not submitting the audit state to or treating the first trial state;
B2. if the rights state of version is not for submitting the audit state to or treating the first trial state under the described line formerly, the rights state of version is set to treat the first trial state under the then described line,
Wherein the rights state of the establishment version of described online application is set to the described audit state of not submitting to when described online application is created, and described not submit audit state and the described first trial state for the treatment of to be the specified permission state.
According to one preferred embodiment of the present invention, described step b further comprises:
Whether the rights state of b1. judging version under the described line formerly is that state is not passed through in audit;
B2. if under the described line formerly the rights state of version for audit by state, then further judge whether to exist described online application first front adjustment of the printing plate this;
B3. if exist described first front adjustment of the printing plate originally, the rights state of version is set to treat the reexamination state under the described line;
B4. if do not exist described first front adjustment of the printing plate originally, the rights state of version is set to treat the first trial state under the described line,
Wherein said audit not by state, describedly treat that first trial state and the described reexamination state for the treatment of are the specified permission state.
According to one preferred embodiment of the present invention, described particular visitors is the one or more groups that form among the visitor of limited quantity of described developer, platform management person and described developer or described platform management person's appointment, and described general visitor is the domestic consumer of described online application platform.
According to one preferred embodiment of the present invention, described control method further comprises:
F. receive described developer's turn-off request, on the described line under version and the described line rights state of version be set to closed condition, described closed condition is the specified permission state.
According to one preferred embodiment of the present invention, described control method further comprises:
G. receive described developer's removal request, on the described line under version and the described line rights state of version be set to the deletion state, under described deletion state, forbid version on the described line is conducted interviews.
The invention provides a kind of online application platform, comprising: development platform, version under the line of the online application that the reception developer submits to;
Whether management platform, the rights state of judging version under the described line formerly are that audit is by state or treat the reexamination state; If the rights state of version is for examining by state or treating the reexamination state under the described line formerly, the rights state of version is set to treat the reexamination state under the then described line, wherein said audit is general rights state by state, and the described reexamination state for the treatment of is the specified permission state; Examine version under the described line; If audit is passed through, the rights state of version is set to the general rights state that allows general visitor to conduct interviews under the then described line, and be version on the line of described online application with version unloading under the described line, the rights state of version is set to general rights state on the described simultaneously line.
According to one preferred embodiment of the present invention, described management platform also is used for: if audit is passed through, the rights state of version is set to examine and passes through state under the then described line.
According to one preferred embodiment of the present invention, described management platform also is used for: if audit is not passed through, the rights state of version is set to audit not by state under the then described line, and described audit is not the specified permission state by state.
According to one preferred embodiment of the present invention, described management platform also is used for: utilize version under the described line to replace version under the first front of described online application; And utilize version on the described line to replace version on the line formerly of described online application.
According to one preferred embodiment of the present invention, described management platform also is used for:
Whether the rights state of judging version under the line formerly of described online application is for not submitting the audit state to or treating the first trial state;
If the rights state of version is not for submitting the audit state to or treating the first trial state under the described line formerly, the rights state of version is set to treat the first trial state under the then described line,
Wherein the rights state of the establishment version of described online application is set to the described audit state of not submitting to when described online application is created, and described not submit audit state and the described first trial state for the treatment of to be the specified permission state.
According to one preferred embodiment of the present invention, described management platform also is used for:
Whether the rights state of judging version under the described line formerly is that state is not passed through in audit;
If under the described line formerly the rights state of version for audit by state, then further judge whether to exist described online application first front adjustment of the printing plate this;
If exist described first front adjustment of the printing plate originally, the rights state of version is set to treat the reexamination state under the described line;
If do not exist described first front adjustment of the printing plate originally, the rights state of version is set to treat the first trial state under the described line,
Wherein said audit not by state, describedly treat that first trial state and the described reexamination state for the treatment of are the specified permission state.
According to one preferred embodiment of the present invention, described particular visitors is the one or more groups that form among the visitor of limited quantity of described developer, platform management person and described developer or described platform management person's appointment, and described general visitor is the domestic consumer of described online application platform.
According to one preferred embodiment of the present invention, described management platform also is used for: receive described developer's turn-off request, on the described line under version and the described line rights state of version be set to closed condition, described closed condition is the specified permission state.
According to one preferred embodiment of the present invention, described management platform also is used for: the removal request that receives described developer, on the described line under version and the described line rights state of version be set to the deletion state, under described deletion state, forbid version on the described line is conducted interviews.
By the way, for online application platform provides review mechanism, so that before the keeper is examining by online application, domestic consumer can't visit this online application, promoted the security of online application, avoid the problem proliferation, improve the Product Safety of application platform side self, strengthened the user experience effect.
[description of drawings]
Fig. 1 is the schematic block diagram of online application platform according to an embodiment of the invention.
Fig. 2 is the process flow diagram according to the online application platform control method of first embodiment of the invention.
Fig. 3 is the process flow diagram of an embodiment of online application platform control method shown in Figure 2.
Fig. 4 is the transforming relationship synoptic diagram between the different rights state in the online application platform control method shown in Figure 1.
Fig. 5 is the process flow diagram according to the online application platform control method of second embodiment of the invention.
[embodiment]
The present invention is described in detail below in conjunction with drawings and Examples.
As shown in Figure 1, Fig. 1 is the schematic block diagram of online application platform according to an embodiment of the invention.In the present embodiment, online application platform comprises development platform 1, management platform 2, application data base 3 and access platform 4.Development platform 1 is used to receive online application that the developer submits to and at the visit and the operation requests of online application.Application data base 3 is used to store online application and satellite information thereof.Access platform 4 is used to receive the request of access of visitor to online application.
In the present embodiment, management platform 2 is the core of online application platform, is used for managing according to developer's the operation rights state to online application.In addition, management platform 2 further manages visitor's visit.Concrete function below in conjunction with Fig. 2-5 pair management platform 2 is described.
As shown in Figure 2, Fig. 2 is the process flow diagram according to the online application platform control method of first embodiment of the invention.
In step 201, version under the line of the online application that the reception developer submits to.In the present embodiment, version can be the program itself or the pairing URL of online application of online application under the line of the online application of being submitted to.The developer can also further provide the satellite information of online application, for example the description or the operation instruction of icon picture, logo picture and online application.Development platform 1 stores foregoing into application data base 3 after receiving foregoing.
In step 202, the rights state of version is set to the specified permission state that only allows particular visitors to conduct interviews under the line.In a preferred embodiment, utilize version under the line to replace version under the first front of online application, realize the renewal of version under the line thus, and save storage space.
In step 203, version under the audit line.In a preferred embodiment, examining content comprises that the visitor passes through development platform 1 or access platform 4 visible contents, just can be in the content displayed in the page that presents of online application.For example, the description of the runnable interface of online application, icon picture, logo picture and online application or operation instruction or the like.
If audit is passed through, in step 204, the rights state of version is set to the general rights state that allows general visitor to conduct interviews under the line, and is version on the line of online application with version unloading under the line, and the rights state of version is set to general rights state on the line simultaneously.In a preferred embodiment, utilize version on the line to replace version on the line formerly of online application, realize the renewal of version on the line thus, and save storage space.If audit is not passed through, return step 201, version under the line of this online application after making amendment, the person of awaiting development further is provided.
In the present embodiment, particular visitors is the one or more groups that form among the visitor of limited quantity of developer, platform management person and developer or platform management person's appointment, and general visitor is the domestic consumer of online application platform.
In the present embodiment, step 201 can be finished by development platform 1, and step 202-204 is finished by management platform 2.
As shown in Figure 3, Fig. 3 is the process flow diagram of an embodiment of online application platform control method shown in Figure 2.
In step 301, version under the line of the online application that the reception developer submits to.
In step 302, whether the rights state of judging version under the line formerly of online application is for not submitting the audit state to or treating the first trial state.If formerly the rights state of version then jumps to step 303 for not submitting the audit state to or treating the first trial state under the line, the rights state of version is set to treat the first trial state under the line.
In the present embodiment, the rights state of the establishment version of online application is set to not submit to the audit state when online application is created.Specifically, before development platform 1 was submitted online application to, the developer at first need submit online application request to create to by development platform 1 the developer.Management platform 2 is created online application according to the online application request to create that the developer submits to, and distributes identification.For example, management platform 2 is that online application distributes one to use ID, PKI (api key), key (secret key).Wherein, use the identity that ID and PKI can both online application of unique identification.Subsequently, the rights state of the establishment version of management platform 2 online application is set to not submit to the audit state.
If formerly the rights state of version is not submit the audit state to or treat the first trial state under the line, then jump to step 304.In step 304, whether the rights state of judging version under the line formerly is that audit is by state or treat the reexamination state.If formerly the rights state of version then jumps to step 305 for examining by state or treating the reexamination state under the line.In step 305, the rights state of version is set to treat the reexamination state under the line.
If formerly under the line rights state of version be not audit by state or treat the reexamination state, then jump to step 306.In step 306, judge whether the rights state of version under the line formerly is that state is not passed through in audit.If formerly the rights state of version is not passed through state for audit under the line, then jump to step 307.In step 307, further judge whether to exist the first front adjustment of the printing plate basis of online application.If exist first front adjustment of the printing plate originally, then jump to step 305, the rights state of version is set to treat the reexamination state under the line.If do not exist first front adjustment of the printing plate originally, then jump to step 303.In step 303, the rights state of version is set to treat the first trial state under the line.If formerly the rights state of version is not to examine not by state under the line, then jump to step 311.In step 311, report an error, so that platform management person or developer to be provided, the rights state of version is wrong under the first front.
In step 308, version under the audit line.If audit is passed through, in step 309, the rights state of version is set to audit by state under the line, and unloading is a version on the line of online application.If audit is not passed through, then jump to step 310.In step 310, the rights state of version under the line is provided with audit by state, and returns step 301, version under the line of this online application after making amendment, the person of awaiting development further is provided.
In the present embodiment, wait to submit to the audit state, treat the first trial state, treat that reexamination state and audit are not the specified permission state by state, only allow particular visitors to conduct interviews.Audit is general rights state by state.
In the present embodiment, step 301 can be finished by development platform 1, and step 302-311 is finished by management platform 2.
As shown in Figure 4, Fig. 4 is the transforming relationship synoptic diagram between the different rights state in the online application platform control method shown in Figure 1.In Fig. 4, except having shown not submission shown in Figure 3 audit state, treat the first trial state, treat the reexamination state, having passed state and examination by the state, other two kinds of rights state and control method thereof are disclosed further.Wherein, can further receive developer's turn-off request, and examine on the line of the online application of passing through that the rights state of version is set to closed condition under the version and line.Down, only allow the online application of Accessor Access of specified permission state in off position.At this moment, the visitor of general rights state also can't have access to this online application.Certainly, can further receive developer or platform management person's open request, the rights state of version under version on the line and the line is returned to state before closing.
In addition, can also further receive developer's removal request, with version deletion under version and the line on the line of online application, and on the line under version and the line rights state of version be set to the deletion state.Under the deletion state, refusal comprises the all-access of developer and platform management person's online application.In general, the deletion state is an irreversible process, and the developer can't ask to recover to be in the online application of deletion state.
As shown in Figure 5, Fig. 5 is the process flow diagram according to the online application platform control method of second embodiment of the invention.
In step 501, receive the request of access of visitor to online application.
In step 502, judge whether the rights state of version on the line of online application is general rights state.If the rights state of version is general rights state on the line, then jump to step 503.In step 503, allow the visitor that version on the line is conducted interviews.
If the rights state of version is not general rights state on the line, then jump to step 504.In step 504, judge whether the rights state of version under the line of online application is the specified permission state.If the rights state of online application is not the specified permission state, then jump to step 505.In step 505, denied access person conducts interviews.
If the rights state of version is the specified permission state on the line, jump to step 506.In step 506, whether the authentication-access person is particular visitors.If the visitor is a particular visitors, then jump to step 507.In step 507, allow the visitor that version under the line is conducted interviews.If the visitor is not a particular visitors, then jump to step 505.In step 505, denied access person conducts interviews.
In the present embodiment, general rights state comprises above with reference to the described audit of Fig. 4 and passes through state.The specified permission state comprise with reference to Fig. 4 describedly wait to submit to the audit state, treat the first trial state, treat the reexamination state, audit is by state or closed condition.
In the present embodiment, particular visitors is the one or more groups that form among the visitor of limited quantity of developer, platform management person and developer or platform management person's appointment.
In the present embodiment, step 501 can be finished by development platform 1 or access platform 4, and step 502-507 management platform 4 is finished.
By the way, for online application platform provides a kind of review mechanism, so that before the keeper is examining by online application, domestic consumer can't visit this online application, promoted the security of online application, avoid the problem proliferation, improve the Product Safety of application platform side self, strengthened the user experience effect.
In the above-described embodiments, only the present invention has been carried out exemplary description, but those skilled in the art can carry out various modifications to the present invention after reading present patent application under the situation that does not break away from the spirit and scope of the present invention.