CN112015436A - Short message platform deployment method and device, computing equipment and computer storage medium - Google Patents

Short message platform deployment method and device, computing equipment and computer storage medium Download PDF

Info

Publication number
CN112015436A
CN112015436A CN201910465153.6A CN201910465153A CN112015436A CN 112015436 A CN112015436 A CN 112015436A CN 201910465153 A CN201910465153 A CN 201910465153A CN 112015436 A CN112015436 A CN 112015436A
Authority
CN
China
Prior art keywords
script files
short message
intermediate components
deployment
message platform
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
Application number
CN201910465153.6A
Other languages
Chinese (zh)
Inventor
崔俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201910465153.6A priority Critical patent/CN112015436A/en
Publication of CN112015436A publication Critical patent/CN112015436A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a short message platform deployment method and device, a computing device and a computer storage medium, wherein the method comprises the following steps: the method comprises the steps that containerization processing is conducted on a plurality of intermediate components contained in a short message platform, and a plurality of script files corresponding to the containerization are obtained; wherein, the intermediate components have a sequential calling dependency relationship; storing a plurality of script files and configuration script files containing the calling dependency relationship of a plurality of intermediate components by using a code warehouse; and pulling a plurality of script files from the code warehouse, and integrating the plurality of script files according to the configuration script files to complete the deployment of the short message platform. The invention can be used for rapidly deploying the short message platform, and realizes the integration of the short message platform according to the sequential calling dependency relationship of the plurality of intermediate components, thereby reducing the cost of time, labor and the like required by deployment.

Description

Short message platform deployment method and device, computing equipment and computer storage medium
Technical Field
The invention relates to the field of software, in particular to a short message platform deployment method and device, computing equipment and a computer storage medium.
Background
The short message platform can analyze and identify the short message object according to the short message content, the short message sending number and the like to obtain a related identification result and the like. Because the technical points related to the short message platform and the intermediate components such as the interface platform and the like are more and respectively dispersed, the short message platform needs to be manually deployed one by one in sequence during deployment. After each deployment is successful, operations such as joint debugging integration and the like can be performed. The deployment mode causes that the deployment online time is long, and affects the operations of rapid research and development, test deployment and the like of the short message platform function, so that the debugging time of the whole short message platform is long, and a large amount of labor, time and other costs are needed.
Disclosure of Invention
In view of the above, the present invention is proposed to provide a short message platform deployment method and apparatus, a computing device, a computer storage medium, which overcome or at least partially solve the above problems.
According to an aspect of the present invention, a short message platform deployment method is provided, which includes:
the method comprises the steps that containerization processing is conducted on a plurality of intermediate components contained in a short message platform, and a plurality of script files corresponding to the containerization are obtained; wherein, the intermediate components have a sequential calling dependency relationship;
storing a plurality of script files and configuration script files containing the calling dependency relationship of a plurality of intermediate components by using a code warehouse;
and pulling a plurality of script files from the code warehouse, and integrating the plurality of script files according to the configuration script files to complete the deployment of the short message platform.
According to another aspect of the present invention, a short message platform deployment apparatus is provided, which includes:
the containerization module is suitable for containerizing a plurality of intermediate components contained in the short message platform to obtain a plurality of corresponding script files after containerization; wherein, the intermediate components have a sequential calling dependency relationship;
the storage module is suitable for storing a plurality of script files and configuration script files containing calling dependency relations of a plurality of intermediate components by utilizing the code warehouse;
and the deployment module is suitable for pulling the script files from the code warehouse and integrating the script files according to the configuration script files to complete the deployment of the short message platform.
According to yet another aspect of the present invention, there is provided a computing device comprising: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the short message platform deployment method.
According to still another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform operations corresponding to the above short message platform deployment method.
According to the short message platform deployment method and device, the computing equipment and the computer storage medium, the intermediate components contained in the short message platform are subjected to containerization processing, and a plurality of script files corresponding to the containerization are obtained; wherein, the intermediate components have a sequential calling dependency relationship; storing a plurality of script files and configuration script files containing the calling dependency relationship of a plurality of intermediate components by using a code warehouse; and pulling a plurality of script files from the code warehouse, and integrating the plurality of script files according to the configuration script files to complete the deployment of the short message platform. The invention can be used for rapidly deploying the short message platform, and realizes the integration of the short message platform according to the sequential calling dependency relationship of the plurality of intermediate components, thereby reducing the cost of time, labor and the like required by deployment. Furthermore, version management is also conveniently carried out on a plurality of intermediate components of the short message platform by using the code warehouse, the intermediate components of corresponding versions are conveniently and quickly integrated by using the version management, the deployment of the short message platform is realized, and the deployment efficiency is greatly improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flow chart of a short message platform deployment method according to an embodiment of the invention;
fig. 2 is a flowchart illustrating a short message platform deployment method according to another embodiment of the present invention;
fig. 3 shows a functional block diagram of a short message platform deployment device according to an embodiment of the present invention;
FIG. 4 shows a schematic structural diagram of a computing device according to an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a flowchart of a short message platform deployment method according to an embodiment of the present invention. As shown in fig. 1, the short message platform deployment method specifically includes the following steps:
and S101, performing containerization processing on a plurality of intermediate components contained in the short message platform to obtain a plurality of corresponding script files after containerization.
The short message platform can analyze and identify the short message object, determine the security level of the short message object and the like. The short message platform comprises a plurality of intermediate components, and the plurality of intermediate components jointly complete the functional processing of analyzing and identifying short message objects and the like. The middleware components include, for example, database components (MySQL, Redis, MongoDB, etc.), server-side components, front-end components, cloud rules components, cloud AI model components, etc. The intermediate components have a sequential calling dependency relationship. The call dependency relationship of the intermediate component is specifically as follows: the cloud AI model component depends on the cloud rule component, the cloud rule component depends on the server end component, the front end component depends on the server end component, the server end component depends on the database component, and the like.
In the prior art, when a short message platform is deployed, the intermediate components are manually started one by one and each intermediate component is debugged, so that the intermediate components are successfully started. After each intermediate component is started successfully, the release version can be deployed after operations such as debugging, verifying and the like are carried out among the plurality of intermediate components. The whole process consumes a long time and manpower. Specifically, for example, a single database component is started, a code program corresponding to a server-side component is started, a code program corresponding to a front-side component is started, a cloud rule component, a cloud AI model component and the like are started, a code program corresponding to the server-side component and the database component perform joint debugging testing, a code program corresponding to the server-side component and a code program corresponding to the front-side component perform joint debugging testing and the like, and after each intermediate component is determined to be successfully invoked, all the intermediate components are packaged and published (release version), and a short message platform is deployed.
In view of the above problem, in this embodiment, a containerization technology is used to perform containerization processing on a plurality of intermediate components included in the short message platform to obtain a plurality of script files corresponding to the containerization. Specifically, each intermediate component is subjected to containerization processing, and each script file corresponding to each intermediate component subjected to containerization is obtained. Further, when the short message platform is executed specifically, that is, when the short message platform processes the short message object, the intermediate component is called, and the calling of the intermediate component has a calling dependency relationship in sequence. After containerization, when the code of the intermediate component has a problem, only the intermediate component is influenced, and other intermediate components are not influenced. The containerization process is performed on a per-intermediate-component basis, such as the containerization process performed on the intermediate components based on Docker, and the like, and is not specifically limited herein.
The configuration script file can be used for arranging scripts for the container, for example, a plurality of intermediate components are defined in the configuration script file, and the calling dependency relationship among the intermediate components is recorded; or the configuration script file utilizes the shell command to write the script file and appoint the calling dependency relationship among the plurality of intermediate components.
Step S102, a code warehouse is used for storing a plurality of script files and configuration script files containing the calling dependency relationship of a plurality of intermediate components.
In the embodiment, only the containerized script file is stored by using the code warehouse, so that the storage amount of storing each code of each intermediate component in the prior art is reduced, and the code maintenance amount of deployment personnel is greatly reduced.
Besides storing a plurality of script files by using a code warehouse, a configuration script file containing the calling dependency relationship of a plurality of intermediate components needs to be stored, so that the script files corresponding to the intermediate components are sequentially acquired according to the configuration script file in the subsequent deployment, the corresponding intermediate components are sequentially started, and the normal deployment of the short message platform is ensured.
And S103, pulling a plurality of script files from the code warehouse, and integrating the plurality of script files according to the configuration script files to complete the deployment of the short message platform.
Multiple script files may be automatically pulled from a code repository for CI integration based on persistent integration techniques. During integration, the plurality of script files are sequentially started according to the calling dependency relationship of the plurality of intermediate components contained in the configuration script file, so that the plurality of intermediate components are started. Specifically, according to the configuration script file, the following sequence is performed: executing a starting command on a script file corresponding to the database component, and starting the database component; executing a starting command on the script file corresponding to the server end component, starting the server end component, and connecting the server end component with the database component; executing a starting command on the script file corresponding to the front-end component, starting the front-end component, and connecting the front-end component with the server-end component; executing a starting command on a script file corresponding to the cloud rule component, starting the cloud rule component, wherein a server end component can be connected with the cloud rule component; and executing a starting command on the script file corresponding to the cloud AI model component, and starting the cloud AI model component, wherein the cloud rule component can be connected with the cloud AI model component.
Furthermore, after each intermediate assembly is started, automatic virtual object testing is carried out on the started script files based on a continuous integration technology, for example, short message verification MOCK testing and the like, and joint debugging testing on the intermediate assemblies can be achieved. Specifically, in the automatic virtual object test of the short message platform, after the obtained simulated short message object is processed by using a cloud AI module, the cloud rule module performs matching processing and the like on the short message object according to a short message identification rule; the short message object comprises a short message number, short message content, short message priority and the like; and the server end component judges according to the short message object matching result to obtain the final short message object identification result. And the front-end component displays the identification result of the final short message object. And the database component stores the identification result of the final short message object. And determining whether the integration test of a plurality of intermediate components of the short message platform is successful or not through the automatic virtual object test of the short message platform. And if the test is successful, packaging the plurality of script files according to the successful test result, and deploying to a deployment environment. The deployment environment includes, for example, a test environment, a development environment, a release environment, etc., according to actual requirements. After the plurality of script files are packaged, the script files can be deployed to any deployment environment according to needs.
According to the short message platform deployment method provided by the invention, a plurality of intermediate components contained in a short message platform are subjected to containerization processing to obtain a plurality of corresponding script files after containerization; wherein, the intermediate components have a sequential calling dependency relationship; storing a plurality of script files and configuration script files containing the calling dependency relationship of a plurality of intermediate components by using a code warehouse; and pulling a plurality of script files from the code warehouse, and integrating the plurality of script files according to the configuration script files to complete the deployment of the short message platform. The invention can be used for rapidly deploying the short message platform, and realizes the integration of the short message platform according to the sequential calling dependency relationship of the plurality of intermediate components, thereby reducing the cost of time, labor and the like required by deployment. Furthermore, version management is also conveniently carried out on a plurality of intermediate components of the short message platform by using the code warehouse, the intermediate components of corresponding versions are conveniently and quickly integrated by using the version management, the deployment of the short message platform is realized, and the deployment efficiency is greatly improved.
Fig. 2 is a flowchart illustrating a short message platform deployment method according to another embodiment of the present invention. As shown in fig. 2, the short message platform deployment method specifically includes the following steps:
step S201, a plurality of intermediate components contained in the short message platform are subjected to containerization processing, and a plurality of corresponding script files after containerization are obtained.
This step is described with reference to step S101 in fig. 1, and is not described herein again.
Step S202, a plurality of script files and configuration script files containing the calling dependency relationship of a plurality of intermediate components are correspondingly stored by using a code warehouse based on the version information of each script file.
The code warehouse can manage versions of all the script files, only one script file with the latest version is stored in the code warehouse, the script file with the latest version can be directly pulled when the script file is pulled from the code warehouse subsequently, the situation that whether the version of the pulled script file is correct or not is avoided, and the efficiency of the whole deployment process is improved. Specifically, after modifying the code of any one of the plurality of intermediate components, the code repository may update and store the script file corresponding to the modified intermediate component based on the version information, so that the latest version of the script file is stored in the code repository.
When the configuration script file is stored, only one copy is stored in the code warehouse.
Step S203, a plurality of script files are pulled from the code warehouse, and the deployment of the short message platform is completed by integrating the plurality of script files according to the configuration script files
As the script file with the latest version is stored in the code warehouse, a plurality of script files can be directly and automatically pulled from the code warehouse for CI integration based on the continuous integration technology, the versions of all intermediate components do not need to be judged, and the working steps required by deployment are reduced.
The continuous integration technology can adopt the jenkis technology for integrating script files corresponding to a plurality of intermediate components of the short message platform. Executing a starting command on a script file corresponding to the database component, and starting the database component; executing a starting command on the script file corresponding to the server end component, starting the server end component, and connecting the server end component with the database component; executing a starting command on the script file corresponding to the front-end component, starting the front-end component, and connecting the front-end component with the server-end component; executing a starting command on a script file corresponding to the cloud rule component, starting the cloud rule component, wherein a server end component can be connected with the cloud rule component; and executing a starting command on the script file corresponding to the cloud AI model component, and starting the cloud AI model component, wherein the cloud rule component can be connected with the cloud AI model component.
And automatically testing the virtual objects of the plurality of started script files based on a continuous integration technology, packaging the plurality of script files after the test is successful, and deploying the script files to a deployment environment. After the short message platform is deployed in the deployment environment, the short message platform can process the short message object. Specifically, a cloud AI model component processes mass unprocessed short message objects, and then a cloud rule component performs matching processing on the short message objects according to a short message identification rule; and judging by the server end component according to the short message object matching result to obtain the final short message object identification result. And the front-end component displays the identification result of the final short message object. And the database component stores the identification result of the final short message object. And the plurality of intermediate components jointly complete the processing of the short message object by the short message platform.
According to the short message platform deployment method provided by the invention, the code warehouse is used for carrying out version management on the script files corresponding to the plurality of intermediate components, and storing the script file with the latest version, so that the workload of carrying out version check on the file during deployment is reduced, and the whole deployment efficiency is improved.
Fig. 3 shows a functional block diagram of a short message platform deployment device according to an embodiment of the present invention. As shown in fig. 3, the short message platform deployment device includes the following modules:
the containerization module 310 is adapted to: the method comprises the steps that containerization processing is conducted on a plurality of intermediate components contained in a short message platform, and a plurality of script files corresponding to the containerization are obtained; and the intermediate components have a sequential calling dependency relationship.
The storage module 320 is adapted to: a code repository is utilized to store a plurality of script files and a configuration script file containing call dependencies for a plurality of intermediate components.
The deployment module 330 is adapted to: and pulling a plurality of script files from the code warehouse, and integrating the plurality of script files according to the configuration script files to complete the deployment of the short message platform.
Optionally, the storage module 320 is further adapted to: a plurality of script files are correspondingly stored by a code warehouse based on the version information of each script file.
Optionally, the storage module 320 is further adapted to: and when the plurality of intermediate components are modified, updating and storing the script files corresponding to the modified intermediate components based on the version information.
Optionally, the deployment module 330 is further adapted to: automatically pulling a plurality of script files from a code warehouse for integration based on a continuous integration technology, and sequentially starting the plurality of script files according to the calling dependency relationship of a plurality of intermediate components contained in the configuration script files; performing automatic virtual object test on the plurality of started script files; packaging the plurality of script files according to the successful test result, and deploying the script files to a deployment environment; wherein the deployment environment comprises a test environment, a development environment and/or a release environment.
The descriptions of the modules refer to the corresponding descriptions in the method embodiments, and are not repeated herein.
The application also provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the short message platform deployment method in any method embodiment.
Fig. 4 is a schematic structural diagram of a computing device according to an embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 4, the computing device may include: a processor (processor)402, a Communications Interface 404, a memory 406, and a Communications bus 408.
Wherein:
the processor 402, communication interface 404, and memory 406 communicate with each other via a communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically execute the relevant steps in the above-described embodiment of the short message platform deployment method.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The computing device includes one or more processors, which may be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 406 for storing a program 410. Memory 406 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may be specifically configured to enable the processor 402 to execute the short message platform deployment method in any of the above-described method embodiments. For specific implementation of each step in the program 410, reference may be made to corresponding steps and corresponding descriptions in units in the foregoing short message platform deployment embodiment, which are not described herein again. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described devices and modules may refer to the corresponding process descriptions in the foregoing method embodiments, and are not described herein again.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a short message platform deployment apparatus according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The invention discloses: A1. a short message platform deployment method comprises the following steps:
containerizing a plurality of intermediate components contained in the short message platform to obtain a plurality of corresponding script files after containerization; wherein, the intermediate components have a sequential calling dependency relationship;
storing the plurality of script files and a configuration script file containing the calling dependency relationship of the plurality of intermediate components by using a code warehouse;
and pulling a plurality of script files from the code warehouse, and integrating a plurality of script files according to the configuration script files to complete the deployment of the short message platform.
A2. The method of a1, wherein the storing the plurality of script files with a code repository further comprises:
and correspondingly storing the plurality of script files based on the version information of each script file by using a code warehouse.
A3. The method of a2, wherein the storing the plurality of script files with a code repository further comprises:
and when the plurality of intermediate components are modified, updating and storing the script files corresponding to the modified intermediate components based on the version information.
A4. The method of any one of a1-A3, wherein the intermediate components include one or more of the following: the system comprises a database component, a server end component, a front end component, a cloud rule component and a cloud AI model component;
the call dependency relationship of the plurality of intermediate components is specifically as follows: the cloud AI model component depends on the cloud rule component, the cloud rule component depends on the server side component, the front side component depends on the server side component, and the server side component depends on the database component.
A5. The method according to a1, wherein the pulling the plurality of script files from the code repository, and the integrating the plurality of script files according to the configuration script file to complete the deployment of the short message platform further comprises:
automatically pulling a plurality of script files from the code warehouse for integration based on a continuous integration technology, and sequentially starting the plurality of script files according to the calling dependency relationship of a plurality of intermediate components contained in the configuration script files;
performing automatic virtual object test on the plurality of started script files;
according to the result of successful test, packaging the script files, and deploying to a deployment environment; wherein the deployment environment comprises a test environment, a development environment, and/or a release environment.
The invention also discloses: B6. a short message platform deployment device comprises:
the containerization module is suitable for containerizing a plurality of intermediate components contained in the short message platform to obtain a plurality of corresponding script files after containerization; wherein, the intermediate components have a sequential calling dependency relationship;
a storage module adapted to store the plurality of script files and a configuration script file containing a call dependency of a plurality of intermediate components using a code repository;
and the deployment module is suitable for pulling the script files from the code warehouse and integrating the script files according to the configuration script files to complete the deployment of the short message platform.
B7. The apparatus of B6, wherein the storage module is further adapted to:
and correspondingly storing the plurality of script files based on the version information of each script file by using a code warehouse.
B8. The apparatus of B7, wherein the storage module is further adapted to:
and when the plurality of intermediate components are modified, updating and storing the script files corresponding to the modified intermediate components based on the version information.
B9. The apparatus of any one of B6-B8, wherein the intermediate components include one or more of the following: the system comprises a database component, a server end component, a front end component, a cloud rule component and a cloud AI model component;
the call dependency relationship of the plurality of intermediate components is specifically as follows: the cloud AI model component depends on the cloud rule component, the cloud rule component depends on the server side component, the front side component depends on the server side component, and the server side component depends on the database component.
B10. The apparatus of B6, wherein the deployment module is further adapted to:
automatically pulling a plurality of script files from the code warehouse for integration based on a continuous integration technology, and sequentially starting the plurality of script files according to the calling dependency relationship of a plurality of intermediate components contained in the configuration script files;
performing automatic virtual object test on the plurality of started script files;
according to the result of successful test, packaging the script files, and deploying to a deployment environment; wherein the deployment environment comprises a test environment, a development environment, and/or a release environment.
The invention also discloses: C11. a computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the short message platform deployment method of any one of A1-A5.
The invention also discloses: D12. a computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the short message platform deployment method as described in any one of a1-a 5.

Claims (10)

1. A short message platform deployment method comprises the following steps:
containerizing a plurality of intermediate components contained in the short message platform to obtain a plurality of corresponding script files after containerization; wherein, the intermediate components have a sequential calling dependency relationship;
storing the plurality of script files and a configuration script file containing the calling dependency relationship of the plurality of intermediate components by using a code warehouse;
and pulling a plurality of script files from the code warehouse, and integrating a plurality of script files according to the configuration script files to complete the deployment of the short message platform.
2. The method of claim 1, wherein the storing the plurality of script files with a code repository further comprises:
and correspondingly storing the plurality of script files based on the version information of each script file by using a code warehouse.
3. The method of claim 2, wherein the storing the plurality of script files with a code repository further comprises:
and when the plurality of intermediate components are modified, updating and storing the script files corresponding to the modified intermediate components based on the version information.
4. The method of any of claims 1-3, wherein the intermediate components include one or more of the following components: the system comprises a database component, a server end component, a front end component, a cloud rule component and a cloud AI model component;
the call dependency relationship of the plurality of intermediate components is specifically as follows: the cloud AI model component depends on the cloud rule component, the cloud rule component depends on the server side component, the front side component depends on the server side component, and the server side component depends on the database component.
5. The method of claim 1, wherein the pulling a plurality of script files from the code repository, the integrating a plurality of script files according to the configuration script file to complete deployment of the short messaging platform further comprises:
automatically pulling a plurality of script files from the code warehouse for integration based on a continuous integration technology, and sequentially starting the plurality of script files according to the calling dependency relationship of a plurality of intermediate components contained in the configuration script files;
performing automatic virtual object test on the plurality of started script files;
according to the result of successful test, packaging the script files, and deploying to a deployment environment; wherein the deployment environment comprises a test environment, a development environment, and/or a release environment.
6. A short message platform deployment device comprises:
the containerization module is suitable for containerizing a plurality of intermediate components contained in the short message platform to obtain a plurality of corresponding script files after containerization; wherein, the intermediate components have a sequential calling dependency relationship;
a storage module adapted to store the plurality of script files and a configuration script file containing a call dependency of a plurality of intermediate components using a code repository;
and the deployment module is suitable for pulling the script files from the code warehouse and integrating the script files according to the configuration script files to complete the deployment of the short message platform.
7. The apparatus of claim 6, wherein the storage module is further adapted to:
and correspondingly storing the plurality of script files based on the version information of each script file by using a code warehouse.
8. The apparatus of claim 7, wherein the storage module is further adapted to:
and when the plurality of intermediate components are modified, updating and storing the script files corresponding to the modified intermediate components based on the version information.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the short message platform deployment method as claimed in any one of claims 1-5.
10. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the short message platform deployment method as claimed in any one of claims 1-5.
CN201910465153.6A 2019-05-30 2019-05-30 Short message platform deployment method and device, computing equipment and computer storage medium Pending CN112015436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910465153.6A CN112015436A (en) 2019-05-30 2019-05-30 Short message platform deployment method and device, computing equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910465153.6A CN112015436A (en) 2019-05-30 2019-05-30 Short message platform deployment method and device, computing equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN112015436A true CN112015436A (en) 2020-12-01

Family

ID=73500963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910465153.6A Pending CN112015436A (en) 2019-05-30 2019-05-30 Short message platform deployment method and device, computing equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN112015436A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442206A (en) * 2022-08-25 2022-12-06 浪潮云信息技术股份公司 Method and system for GO micro-service remote deployment in cloud environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442206A (en) * 2022-08-25 2022-12-06 浪潮云信息技术股份公司 Method and system for GO micro-service remote deployment in cloud environment
CN115442206B (en) * 2022-08-25 2024-06-14 浪潮云信息技术股份公司 Method and system for remote deployment of GO micro-services in cloud environment

Similar Documents

Publication Publication Date Title
US9940225B2 (en) Automated error checking system for a software application and method therefor
CN111414172B (en) Automatic deployment and release system and method for application software
CN110209520B (en) Method and device for improving SSD (solid State disk) testing efficiency, computer equipment and storage medium
CN110727575B (en) Information processing method, system, device and storage medium
CN107798064A (en) Page processing method, electronic equipment and computer-readable recording medium
CN110990289B (en) Method and device for automatically submitting bug, electronic equipment and storage medium
CN112506785A (en) Automatic testing method, device, equipment and medium for login of Html5 game page
CN109992511B (en) Device and method for obtaining code test coverage rate
CN111221721B (en) Automatic recording and executing method and device for unit test cases
CN112015436A (en) Short message platform deployment method and device, computing equipment and computer storage medium
CN116775061A (en) Deployment method, device, equipment and storage medium of micro-service application
CN116599881A (en) Cloud platform tenant modeling test method, device, equipment and storage medium
CN111324373A (en) Method and device for uploading multiple project files to code warehouse and computing equipment
CN114356346A (en) Application program deployment method, device, storage medium and electronic equipment
CN114416596A (en) Application testing method and device, computer equipment and storage medium
CN111209197B (en) Application continuous integration test method, system, equipment and storage medium
CN112667491A (en) Function test method and device of virtual machine
CN117349189B (en) APP new version testing method, equipment and medium
CN112000386A (en) Application implementation method and device
CN110597736B (en) Test data generation method and device
US20210303445A1 (en) Scanner software module for high system utilization
CN111324523B (en) Data processing method and device
CN110286913B (en) Check code packet deployment method and device
CN116521455A (en) Demand testing method and device, storage medium and electronic device
CN114185555A (en) Server deployment method and device and electronic equipment

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