[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN112769954B - Method and system for automatically storing and routing WEB program - Google Patents

Method and system for automatically storing and routing WEB program Download PDF

Info

Publication number
CN112769954B
CN112769954B CN202110123304.7A CN202110123304A CN112769954B CN 112769954 B CN112769954 B CN 112769954B CN 202110123304 A CN202110123304 A CN 202110123304A CN 112769954 B CN112769954 B CN 112769954B
Authority
CN
China
Prior art keywords
cloud server
web
code
transfer system
unique
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.)
Active
Application number
CN202110123304.7A
Other languages
Chinese (zh)
Other versions
CN112769954A (en
Inventor
肖奎
焦英俊
周帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Youkeda Hangzhou Network Co ltd
Youkeda Nanjing Network Co ltd
Original Assignee
Youkeda Hangzhou Network Co ltd
Youkeda Nanjing Network Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Youkeda Hangzhou Network Co ltd, Youkeda Nanjing Network Co ltd filed Critical Youkeda Hangzhou Network Co ltd
Priority to CN202110123304.7A priority Critical patent/CN112769954B/en
Publication of CN112769954A publication Critical patent/CN112769954A/en
Application granted granted Critical
Publication of CN112769954B publication Critical patent/CN112769954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method and a system for automatically storing and routing a WEB program, which comprise a computer, a code uploading system, a database, a WEB transfer system and a cloud server group, wherein a user submits a code to the code uploading system, the code uploading system deploys the submitted code to a corresponding cloud server, then the cloud server id is returned to the user, the user adds a unique id to a general request to identify the corresponding cloud server, the request is forwarded to the corresponding cloud server through the WEB transfer system after the request is passed, and the cloud server returns a processing result to the user. The invention designs an automatic distribution server and a request transfer system based on a cloud processor. The problems that when relevant personnel use a cloud server to deploy WEB programs, the whole period is long, the efficiency is low, and mistakes are easy to make are solved.

Description

Method and system for automatically storing and routing WEB program
Technical Field
The invention relates to the technical field of automatic WEB program storage, in particular to a method and a system for automatic WEB program storage and automatic WEB program routing.
Background
In the current cloud era, related personnel often try to deploy WEB programs by using cloud servers. And uploading the written program code to a cloud server for operation, and then accessing the program through a special website.
The steps of the prior art scheme for realizing the cloud server to deploy the WEB program include: 1. purchasing a cloud server, 2, setting parameters of the cloud server, 3, logging in the cloud server, 4, copying a WEB program to the cloud server, 5, purchasing a domain name, and 6, and recording.
In the prior art, the related steps are various, some steps have strong speciality, some steps are easy to make mistakes, some steps have long time consumption, and the description is as follows: step 2: and (3) setting cloud server parameters, wherein the setting of the cloud server parameters is high in specialization and easy to make mistakes. And 3, step 3: and logging in the cloud server, wherein the cloud server has stronger specialty. And 4, step 4: and the WEB program is copied to a cloud server, so that the strong specialty is involved. Step 6: the recording step takes longer, which takes about 1-2 weeks. Therefore, the prior art needs to be upgraded, and the problem of long period and low efficiency is solved.
Disclosure of Invention
In view of the defects of the background art, the invention relates to a method and a system for automatically storing and routing a WEB program, and designs an automatic distribution server and a request transfer system based on a cloud processor according to the problems. The problems that when relevant personnel use a cloud server to deploy WEB programs, the whole period is long, the efficiency is low, and mistakes are easy to make are solved.
The invention relates to a method and a system for automatically storing and routing a WEB program, which comprise a computer, a code uploading system, a database, a WEB transfer system and a cloud server group, wherein the code uploading system is used for uploading a code to the computer; the code uploading system receives WEB program codes uploaded by a user through a computer; the code uploading system automatically allocates the codes to cloud servers in a cloud server group and stores the codes in the allocated cloud servers; the cloud server group is provided with a plurality of cloud servers; the code uploading system records the distributed cloud server information, automatically generates a unique ID of the cloud server corresponding to the code and stores the unique ID into a database; the code uploading system feeds back the generated unique ID of the cloud server corresponding to the code to a computer of a user; the computer of the user adds the unique ID to a general website to request a WEB program from a WEB transfer system; the WEB transfer system searches the distributed cloud server in a database according to the unique ID; the WEB transfer system determines that a request is successfully sent to the distributed cloud servers in the cloud server group; the cloud server group returns the operation result of the WEB program to the WEB transfer system; and the WEB transfer system returns the operation result of the WEB program to a computer cloud server group of a user, and a plurality of cloud servers are arranged in the computer cloud server group.
By adopting the scheme and the computer automation method, the operation steps are reduced, the efficiency is improved, the unique ID is automatically generated and returned in real time, and the subsequent quick calling and identification are facilitated.
A method for automatically storing and routing WEB programs comprises the following steps: s1: a user uploads codes to a code uploading system through a computer; s2: the code uploading system automatically allocates codes to cloud servers in the cloud server group and stores the codes in the allocated cloud servers; the cloud server group is provided with a plurality of cloud servers. S3: the code uploading system records the distributed server information, automatically generates a unique ID of the cloud server corresponding to the code and stores the unique ID into a database; s4: the code uploading system feeds back the generated unique ID of the cloud server corresponding to the code to a user computer; s5: the user computer adds a unique ID to a general website to request a WEB program from a WEB transfer system; s6: searching the distributed cloud server in a database according to the unique ID in the WEB transfer system; s7: the WEB transfer system determines that a request is successfully sent to the distributed cloud servers in the cloud server group; s8: the cloud server group returns the operation result of the WEB program to a WEB transfer system; s9: and the WEB transfer system returns the operation result of the WEB program to the computer of the user.
By adopting the scheme, the experiences such as short time consumption, strong performance, simple operation and the like of the steps are realized, the flexibility and the expansibility can be realized through the plurality of cloud servers, and the cost is reduced. Flexibility, cloud computing brings more flexibility to enterprises, the enterprises determine whether services need to be added according to self conditions, and the services are selectively added according to self development conditions, so that the utilization of resources is maximized. And the cloud computing is an IT (information technology) resource allocation mode allocated according to needs, and enterprises can take the cloud computing resources for use and horizontally expand the cloud computing according to business needs, so that higher expandability is obtained. The cost is reduced, technical responsible persons do not need to pay more attention to the problems of IT assets, such as high availability of traditional software, and the cost of IT operation and maintenance and hardware is reduced by cloud computing, and when codes are uploaded by a code uploading system, the codes can be stored in a database. Furthermore, the WEB transfer system can remotely send or receive information and also has the functions of file management and remote SHELL monitoring.
By adopting the scheme, the code is uploaded, stored and allocated with the ID through the WEB transfer system, so that the subsequent data can be conveniently and quickly called.
Further, the code uploading system comprises Git and SVN.
By adopting the scheme, the git has the function of managing the versions of the files, is convenient to switch and modify different versions, and similar files are backed up at different times and are retrieved for replacement when needed, but are more convenient to use. Everyone in the SVN can see to some extent what other people in the project are doing. And the administrator can easily master the authority of each developer, and the GIT is distributed.
Furthermore, the code of the corresponding database can be identified by analyzing the ID, and the route of the code file is obtained by http request parameters during code uploading.
By adopting the scheme, the identification is quick, the storage is convenient, and the automatic routing is efficient.
Drawings
The invention is further illustrated with reference to the following figures and examples.
Fig. 1 is a schematic flow chart of a WEB development method according to an embodiment of the present invention.
Reference numeral, 1, a computer; 2. a code uploading system; 3. a database; 4. a WEB transfer system; 5. a cloud server group; 51. and (4) a cloud server.
Detailed Description
While the embodiments of the present invention will be described in detail and fully hereinafter with reference to the accompanying drawings, it is to be understood that the invention is not limited to the details of the embodiments, but may be embodied in various forms without departing from the spirit or scope of the present invention.
For the convenience of understanding the embodiments of the present invention, the following description will be further explained by taking specific embodiments as examples with reference to the drawings, and the embodiments are not to be construed as limiting the embodiments of the present invention.
The embodiment 1 of the invention is shown by referring to fig. 1, and comprises a system and a method for automatically storing and routing a WEB program, wherein the system comprises a computer 1, a code uploading system 2, a database 3, a WEB transit system 4 and a cloud server group 5, a plurality of cloud servers 51 are arranged in the cloud server group 5, the code uploading system 2 acquires uploaded codes from the computer 1 and automatically allocates the cloud servers 51 for automatic storage, automatically records the allocated cloud server 51 value information, and then stores the codes in the database corresponding to a unique ID each time. When an operator on the computer 1 requests a WEB program by a unique ID attached to a website, the WEB relay system 4 searches the allocated server 51 in the database according to the corresponding ID, forwards the request to the cloud server 51 corresponding to the successfully searched server, and returns the request to the WEB relay system 4, and the computer 1 receives an operation result of the WEB relay system 4 to display the operation result.
The method for automatically storing and routing the WEB program comprises the following steps:
s1: a user uploads a code to a code uploading system through the computer 1;
s2: the code uploading system 2 automatically allocates codes to the cloud servers 51 in the cloud server group 5 and stores the codes in the allocated cloud servers; the cloud server group is provided with a plurality of cloud servers.
S3: the code uploading system 2 records the allocated server information, and automatically generates a unique ID of the cloud server 51 corresponding to the code and stores the unique ID into the database 3;
s4: the code uploading system feeds back the generated unique ID of the cloud server corresponding to the code to the user computer 1;
s5: the user computer 1 adds a unique ID to a general website to request a WEB program from the WEB relay system 4;
s6: the WEB transfer system 4 searches the distributed cloud server 51 in the database 3 according to the unique ID;
s7: the WEB transit system 4 determines that the request is successfully sent to the allocated cloud server in the cloud server group 5;
s8: the cloud server group 5 returns the operation result of the WEB program to the WEB transfer system 4;
s9: and the WEB transfer system 4 returns the operation result of the WEB program to the user computer 1.
The method does not need to be operated by a user, the efficiency is greatly improved, errors are avoided, the code uploading system comprises Git and SVN, the SVN is a centralized version control system, a version library is centrally placed in a central server, when the user does not live, the user needs to obtain the latest version from the central server, and after the user does not live, the user needs to push the user done live to the central server. The Git is a distributed version control system, which has no central server, and the computer of each person is a complete version library, and the Git does not need to be networked when working, because the versions are all on the own computer.
The WEB transit system 4 can remotely transmit or receive information, and also has the functions of file management and remote SHELL monitoring. The file management and the remote SHELL monitoring can perform operations such as file storage, editing, deletion and the like in real time, and are convenient to manage, the remote SHELL monitoring can enable the status of program codes to be fed back in real time, problems are found timely, the overall period and efficiency of WEB programs are improved, and the functions of automatic server distribution and a request transfer system are achieved.
The cloud servers 51 in the cloud server group 5 are provided in plural, and advantages of flexibility, expandability, and cost reduction can be achieved by the plural cloud servers 51. The flexibility means that the cloud computing brings greater flexibility to enterprises, the enterprises determine whether services need to be added according to self conditions, and the services are selectively added according to the self development conditions, so that the utilization of resources is maximized. The expansibility means that cloud computing is an IT resource allocation mode allocated according to needs, enterprises can take the cloud computing resources for use, and the cloud computing is horizontally expanded according to business needs, so that higher expandability is obtained. The cost reduction refers to the problem that technical responsible persons do not need to pay more attention to IT assets, such as high availability of traditional software, and the cloud computing reduces the cost of IT operation and maintenance and hardware.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that: those skilled in the art can still make modifications or changes to the embodiments described in the foregoing embodiments, or make equivalent substitutions for some features, within the scope of the disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (5)

1. A system for automatic storage and automatic routing of WEB programs is characterized in that: the system comprises a computer, a code uploading system, a database, a WEB transfer system and a cloud server group; the code uploading system receives WEB program codes uploaded by a user through a computer; the code uploading system automatically allocates the codes to cloud servers in a cloud server group and stores the codes in the allocated cloud servers; the cloud server group is provided with a plurality of cloud servers; the code uploading system records the distributed cloud server information, automatically generates a unique ID of the cloud server corresponding to the code and stores the unique ID into a database; the code uploading system feeds back the generated unique ID of the cloud server corresponding to the code to a computer of a user; the computer of the user adds the unique ID to a general website to request a WEB program from a WEB transfer system; the WEB transfer system searches the distributed cloud servers in a database according to the unique ID; the WEB transfer system determines that a request is successfully sent to the distributed cloud servers in the cloud server group; the cloud server group returns the operation result of the WEB program to a WEB transfer system; and the WEB transfer system returns the operation result of the WEB program to the computer of the user.
2. A method for automatically storing and routing WEB programs is characterized in that: the method comprises the following steps:
s1: a user uploads WEB program codes to a code uploading system through a computer;
s2: the code uploading system automatically distributes the codes to cloud servers in a cloud server group and stores the codes in the distributed cloud servers; the cloud server group is provided with a plurality of cloud servers;
s3: the code uploading system records the distributed cloud server information, automatically generates a unique ID of the cloud server corresponding to the code and stores the unique ID into a database;
s4: the code uploading system feeds back the generated unique ID of the cloud server corresponding to the code to the user computer;
s5: the computer of the user attaches a unique ID to a universal website to request a WEB program from a WEB transfer system;
s6: the WEB transfer system searches the distributed cloud server in a database according to the unique ID;
s7: the WEB transfer system determines that a request is successfully sent to the distributed cloud servers in the cloud server group;
s8: the cloud server group returns the operation result of the WEB program to a WEB transfer system;
s9: and the WEB transfer system returns the operation result of the WEB program to the computer of the user.
3. A method for WEB program auto-store and auto-route as claimed in claim 2 wherein: the WEB transfer system can remotely send or receive information and also has the functions of file management and remote SHELL monitoring.
4. The method for WEB program automatic storage and automatic routing according to claim 2, wherein: the code uploading system comprises Git and SVN.
5. A method for automatic storage and automatic routing of WEB programs according to claim 4, wherein: the WEB transfer system can identify the corresponding code in the database by analyzing the ID, and obtains the route of the code file by http request parameters during code uploading.
CN202110123304.7A 2021-01-29 2021-01-29 Method and system for automatically storing and routing WEB program Active CN112769954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110123304.7A CN112769954B (en) 2021-01-29 2021-01-29 Method and system for automatically storing and routing WEB program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110123304.7A CN112769954B (en) 2021-01-29 2021-01-29 Method and system for automatically storing and routing WEB program

Publications (2)

Publication Number Publication Date
CN112769954A CN112769954A (en) 2021-05-07
CN112769954B true CN112769954B (en) 2022-11-15

Family

ID=75706574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110123304.7A Active CN112769954B (en) 2021-01-29 2021-01-29 Method and system for automatically storing and routing WEB program

Country Status (1)

Country Link
CN (1) CN112769954B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113138769A (en) * 2021-05-17 2021-07-20 上海交通大学 Biological analysis code storage method and device based on cloud storage

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164286A (en) * 2013-03-12 2013-06-19 无锡云动科技发展有限公司 Implement method, resource manager and cloud calculating system of cloud computing platform arrangement

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685348B (en) * 2012-09-03 2016-12-21 百度在线网络技术(北京)有限公司 The system and method that cloud performs
CN104158910B (en) * 2014-08-29 2017-12-15 金石易诚(北京)科技有限公司 A kind of high in the clouds Web applications automatically dispose system
US20170171299A1 (en) * 2015-12-10 2017-06-15 Wireless Input Technology, Inc. Method for Using a Device Serial Number to Select a Cloud Server
CN108156187B (en) * 2016-12-02 2019-04-09 中科星图股份有限公司 A kind of cloud service system
CN108183939A (en) * 2017-12-20 2018-06-19 汉王科技股份有限公司 Cloud identifying service system, method, equipment and Cloud Server
CN108449418B (en) * 2018-03-29 2021-08-06 新华三云计算技术有限公司 Hybrid cloud platform management system and method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164286A (en) * 2013-03-12 2013-06-19 无锡云动科技发展有限公司 Implement method, resource manager and cloud calculating system of cloud computing platform arrangement

Also Published As

Publication number Publication date
CN112769954A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
JP7409622B2 (en) Computer system and method
US8090917B2 (en) Managing storage and migration of backup data
RU2429529C2 (en) Dynamic configuration, allocation and deployment of computer systems
US11307770B2 (en) Capacity forecasting based on capacity policies and transactions
US9529613B2 (en) Methods and apparatus to reclaim resources in virtual computing environments
KR101292405B1 (en) Automatically determining file replication mechanisms
US9383993B2 (en) Enterprise wide software version recommendation
JP2004280485A (en) Computer system
CN113806066A (en) Big data resource scheduling method, system and storage medium
KR102100323B1 (en) Method and server for the service of machine learning platform
US20170285994A1 (en) Maintenance of cloned computer data
JP5775359B2 (en) System management server, management method and program
JP2006099307A (en) Method for installing application set in distribution server
CN112769954B (en) Method and system for automatically storing and routing WEB program
CN104951855A (en) Apparatus and method for improving resource management
JP4040844B2 (en) Remote maintenance device, remote maintenance processing program, and recording medium for the program
JP2016045930A (en) Management system and method for controlling management system
US20220067019A1 (en) Data cooperation system and control system
US9672489B1 (en) Inventory validator with notification manager
JP7106870B2 (en) Program update system and program update method
JP2016088057A (en) Information processing equipment, control method of information processing equipment, and program
JP2008217299A (en) Execution system and execution method for job network
US20120117405A1 (en) Information Processing Device and Data Distribution Method
CN117149350A (en) Deployment method of k8s cluster, generation method and equipment of cluster snapshot
JP2022051141A (en) Information processing device and information processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant