CN111880799A - Method and device for generating number-taking client program and readable medium - Google Patents

Method and device for generating number-taking client program and readable medium Download PDF

Info

Publication number
CN111880799A
CN111880799A CN202010747979.4A CN202010747979A CN111880799A CN 111880799 A CN111880799 A CN 111880799A CN 202010747979 A CN202010747979 A CN 202010747979A CN 111880799 A CN111880799 A CN 111880799A
Authority
CN
China
Prior art keywords
program
identification information
operating systems
different operating
generating
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
CN202010747979.4A
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Cloud Information 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 Inspur Cloud Information Technology Co Ltd filed Critical Inspur Cloud Information Technology Co Ltd
Priority to CN202010747979.4A priority Critical patent/CN111880799A/en
Publication of CN111880799A publication Critical patent/CN111880799A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C11/00Arrangements, systems or apparatus for checking, e.g. the occurrence of a condition, not provided for elsewhere
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C11/00Arrangements, systems or apparatus for checking, e.g. the occurrence of a condition, not provided for elsewhere
    • G07C2011/04Arrangements, systems or apparatus for checking, e.g. the occurrence of a condition, not provided for elsewhere related to queuing systems

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a generation method, a device and a readable medium of a number-taking client program, wherein the method comprises the following steps: receiving a creation instruction carrying identification information corresponding to different operating systems; receiving a first source code of the application program and a second source code of the underlying hardware program; wherein the bottom layer hardware program is used for driving an identity card reader; performing service construction on the first source code and the second source code to generate a first service code of the application program and a second service code of the bottom hardware program; according to the first service code and the identification information, packaging and generating application programs of different operating systems; and according to the second service code and the identification information, packaging and generating bottom hardware programs of different operating systems. The scheme of the invention can realize that the client program in the number machine is compatible with different operating systems.

Description

Method and device for generating number-taking client program and readable medium
Technical Field
The invention relates to the technical field of computers, in particular to a generation method and device of a number-taking client program and a readable medium.
Background
More and more government affair service departments gradually enter a hall, firstly, the service types of the government affair service hall are greatly increased, so that the personalized requirements on a queuing number-taking system are increased, the personalized client functions are also increased, and besides a traditional Windows platform, terminal equipment of various platforms appears, for example: operating systems such as Mac, Windows and Linux. The traditional queuing system has no cross-platform capability and is difficult to deal with terminal equipment which is updated day by day; repeated system development is faced with repeated work, and the maintenance cost is greatly increased due to the non-uniform technical route.
Disclosure of Invention
The embodiment of the invention provides a generation method, a generation device and a readable medium of a number-taking client program, which can realize that the client program in a number-taking machine is compatible with different operating systems.
In a first aspect, an embodiment of the present invention provides a method for generating a number-taking client program, where the method includes:
receiving a creation instruction carrying identification information corresponding to different operating systems;
receiving a first source code of the application program and a second source code of the underlying hardware program; wherein the bottom layer hardware program is used for driving an identity card reader;
performing service construction on the first source code and the second source code to generate a first service code of the application program and a second service code of the bottom hardware program;
according to the first service code and the identification information, packaging and generating application programs of different operating systems;
and according to the second service code and the identification information, packaging and generating bottom hardware programs of different operating systems.
In one possible design, the packaging and generating the application programs of different operating systems according to the first service code and the identification information includes:
acquiring an application platform certificate and a packaging script of the operating system corresponding to the identification information according to the identification information;
generating an engineering directory of each operating system according to the first service code and the application platform certificate and preset rules;
and executing the packaging script on the engineering catalog of the operating system to generate application programs based on different operating systems.
In one possible design, the packaging and generating the application programs of different operating systems according to the first service code and the identification information includes:
receiving a plug-in for adding in the application program; the plug-ins comprise plug-ins constructed based on client technology and/or plug-ins constructed based on client technology and cloud service technology;
and according to the first service code, the identification information and the plug-in, packaging and generating application programs of different operating systems.
In one possible design, the receiving the first source code of the application includes:
receiving source codes of the application program written by a user in a local Integrated Development Environment (IDE) by adopting Vue as a template language;
the generating of the application programs of different operating systems by packaging according to the first service code and the identification information includes:
and generating application programs of different operating systems by adopting an Electron framework package according to the first service code and the identification information.
In a second aspect, an embodiment of the present invention provides a generating apparatus for a number-taking client program, including:
the first receiving module is used for receiving a creation instruction carrying identification information corresponding to different operating systems;
a second receiving module, configured to receive the first source code of the application program and the second source code of the underlying hardware program; wherein the bottom layer hardware program is used for driving an identity card reader;
a service construction module, configured to perform service construction on the first source code and the second source code, and generate a first service code of the application program and a second service code of the underlying hardware program;
the first packing module is used for packing and generating application programs of different operating systems according to the first service code and the identification information;
and the second packing module is used for packing and generating bottom hardware programs of different operating systems according to the second service code and the identification information.
In one possible design, the first packing module is further configured to:
acquiring an application platform certificate and a packaging script of the operating system corresponding to the identification information according to the identification information;
generating an engineering directory of each operating system according to the first service code and the application platform certificate and preset rules;
and executing the packaging script on the engineering catalog of the operating system to generate application programs based on different operating systems.
In one possible design, the first packing module is further configured to:
receiving a plug-in for adding in the application program; the plug-ins comprise plug-ins constructed based on client technology and/or plug-ins constructed based on client technology and cloud service technology;
and according to the first service code, the identification information and the plug-in, packaging and generating application programs of different operating systems.
In one possible design, the second receiving module is further configured to:
receiving source codes of the application program written by a user in a local Integrated Development Environment (IDE) by adopting Vue as a template language;
the first packing module is further configured to:
and generating application programs of different operating systems by adopting an Electron framework package according to the first service code and the identification information.
In a third aspect, an embodiment of the present invention provides a device for generating a number-taking client program, where the device includes: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to perform the method described above.
In a fourth aspect, embodiments of the present invention provide a computer-readable medium having stored thereon computer instructions, which, when executed by a processor, cause the processor to perform the method described above.
According to the scheme, the generation method, the generation device and the readable medium of the number-taking client program provided by the invention receive the creation instruction carrying the identification information corresponding to different operating systems; receiving a first source code of an application program and a second source code of an underlying hardware program; performing service construction on the first source code and the second source code to generate a first service code of an application program and a second service code of a bottom hardware program; according to the first service code and the identification information, packaging and generating application programs of different operating systems; and according to the second service code and the identification information, packaging to generate bottom hardware programs of different operating systems. Therefore, the client program in the number-obtaining machine can be compatible with different operating systems, namely Mac, Windows, Linux and other operating systems are supported; moreover, repeated development can be avoided, and the technical route is prevented from being non-uniform; in addition, when the application program is generated, the application program can be generated only by submitting the source code of the application program by a developer, the developer does not need to have higher development skills, and the development difficulty is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a generating method of a number-taking client program according to an embodiment of the present invention;
fig. 2 is a flowchart of a generating method of a number-taking client program according to another embodiment of the present invention;
fig. 3 is a schematic diagram of a device in which a generating apparatus of a number-taking client program according to an embodiment of the present invention is located;
fig. 4 is a schematic diagram of a generating apparatus of a number-taking client program according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
Fig. 1 is a flowchart of a generating method of a number-taking client program according to an embodiment of the present invention. As shown in fig. 1, the method may include the steps of:
step 101, receiving a creation instruction carrying identification information corresponding to different operating systems;
102, receiving a first source code of the application program and a second source code of the bottom layer hardware program; wherein the bottom layer hardware program is used for driving an identity card reader;
103, performing service construction on the first source code and the second source code to generate a first service code of the application program and a second service code of the bottom layer hardware program;
step 104, according to the first service code and the identification information, packaging and generating application programs of different operating systems;
and 105, generating bottom hardware programs of different operating systems by packaging according to the second service codes and the identification information.
In the embodiment of the invention, the generation method of the number-taking client program provided by the invention receives a creation instruction carrying identification information corresponding to different operating systems; receiving a first source code of an application program and a second source code of an underlying hardware program; wherein, the bottom hardware program is used for driving the identity card reader; performing service construction on the first source code and the second source code to generate a first service code of an application program and a second service code of a bottom hardware program; according to the first service code and the identification information, packaging and generating application programs of different operating systems; and according to the second service code and the identification information, packaging to generate bottom hardware programs of different operating systems. Therefore, the client program in the number-obtaining machine can be compatible with different operating systems, namely Mac, Windows, Linux and other operating systems are supported; moreover, repeated development can be avoided, and the technical route is prevented from being non-uniform; in addition, when the application program is generated, the application program can be generated only by submitting the source code of the application program by a developer, the developer does not need to have higher development skills, and the development difficulty is reduced.
Based on the generation method of the number-taking client program shown in fig. 1, in an embodiment of the present invention, the generating, by packaging, the application programs of different operating systems according to the first service code and the identification information includes:
acquiring an application platform certificate and a packaging script of the operating system corresponding to the identification information according to the identification information;
generating an engineering directory of each operating system according to the first service code and the application platform certificate and preset rules;
and executing the packaging script on the engineering catalog of the operating system to generate application programs based on different operating systems.
In the embodiment of the present invention, the application platform certificates and the packaging scripts corresponding to different operating systems may be stored in a cloud platform (not shown in the figure) in advance, and are directly obtained and used when an application program for each operating system is generated by packaging. Of course, the application platform certificates and the packaging scripts corresponding to different operating systems may also be stored in the memory communicatively connected to the cloud platform. For example, the application platform certificates and the packaging scripts corresponding to different operating systems are stored in a database connected with the cloud platform, and when the application programs for each operating system are generated by packaging, the application platform certificates and the packaging scripts are directly obtained from the database for use.
It can be understood that the cloud platform may present a key or a button for triggering the creation of the application program to the user in a local client (e.g., a computer, an all-in-one machine, etc.) of the user, and when the user clicks the key or the button for triggering the creation of the application program, the cloud platform creates the application program as a creation instruction of the application program submitted to the cloud platform by the user, and meanwhile, the cloud platform may request the user to submit configuration information of the application program. The configuration information of the application program may include, but is not limited to: application package names, icons, etc.
Based on the generation method of the number-taking client program shown in fig. 1, in an embodiment of the present invention, the generating, by packaging, the application programs of different operating systems according to the first service code and the identification information includes:
receiving a plug-in for adding in the application program; the plug-ins comprise plug-ins constructed based on client technology and/or plug-ins constructed based on client technology and cloud service technology;
and according to the first service code, the identification information and the plug-in, packaging and generating application programs of different operating systems.
In the embodiment of the invention, when the application program is generated by packaging, the pre-configured plug-in is added in the application program, so that the function of the application program can be expanded, and a user can directly request to use the pre-configured plug-in the process of developing the application program by pre-configuring the plug-in, and the user does not need to write the implementation code of the plug-in, thereby further reducing the development difficulty.
Of course, it should be noted that, when a plug-in addition request is made in an application program, when a user writes program codes of the application program in a local IDE, the program codes of calling plug-ins need to be added, and if the program codes written by the user do not include the program codes of calling plug-ins, the plug-ins added in the application program cannot be validated.
In one embodiment, if a user needs to add a customized plug-in to an application program, the user may upload the customized plug-in to a cloud platform first, and then configure a plug-in addition request in the application program, where the plug-in addition request includes a plug-in identifier allocated by the cloud platform for the customized plug-in.
Based on the generating method of the number-taking client program shown in fig. 1, in an embodiment of the present invention, the receiving a first source code of the application program includes:
receiving source codes of the application program written by a user in a local Integrated Development Environment (IDE) by adopting Vue as a template language;
the generating of the application programs of different operating systems by packaging according to the first service code and the identification information includes:
and generating application programs of different operating systems by adopting an Electron framework package according to the first service code and the identification information.
In the embodiment of the present invention, when a user writes program code in an interface writing environment provided by a local IDE, Vue may be used as a template language for writing, and other languages may also be used for writing, for example, Java language is used for writing, which is not limited in this application. Vue supports the function of separating front and back ends, so that the design of front end art designing and the development of back programs are separated, and the design and the development are facilitated; the Electron is a cross-platform development framework which is based on Chromium and node.js and uses HTML, CSS and JavaScript to construct cross-platform application, and can be better compatible with operating systems such as Mac, Windows and Linux.
As shown in fig. 2, another embodiment of the present invention further provides a generating method of the number-taking client program. The method comprises the following steps:
step 201, receiving a creation instruction carrying identification information corresponding to different operating systems.
In this step, the cloud platform receives a creation instruction of an application program submitted by a user (or a developer), for example, the cloud platform may present a key or a button for triggering creation of the application program to the user in a local client (e.g., a computer, an all-in-one machine, etc.) of the user, and when the user clicks the key or the button for triggering creation of the application program, the cloud platform creates the application program.
Step 202, receiving a first source code of the application program and a second source code of the bottom layer hardware program.
In this step, the local IDE may store the program code written by the user in the local client, may also store the program code written by the user in the cloud platform, and of course, may also store the program code written by the user in both the local client and the cloud platform. The first source code can be written in Vue as a template language, and can also be written in other languages, for example, written in the Java language; the second source code may be written in C + + or QTC + + language, with the underlying hardware program being used to drive the identity card reader.
Step 203, performing service construction on the first source code and the second source code, and generating a first service code of the application program and a second service code of the bottom layer hardware program.
In this step, when performing service construction on the first source code and the second source code, a page or a component may be written using < template >, < style >, and < script > tags, and then converted into a JS bundle to be deployed in the generated application. When the user installs the generated application program for use, when the server returns to the local client JSBend of the user, the JS bundlee can be processed by a JavaScript engine of the client, a rendered native (native) view is managed, a native API is called, and the user interaction is carried out, so that the generated application program has the use experience of the native application program.
And 204, acquiring an application platform certificate and a packaging script of the operating system corresponding to the identification information according to the identification information.
In this step, the application platform certificates and the packaging scripts corresponding to different operating systems may also be stored in a memory communicatively connected to the cloud platform. For example, the application platform certificates and the packaging scripts corresponding to different operating systems are stored in a database connected with the cloud platform, and when the application programs for each operating system are generated by packaging, the application platform certificates and the packaging scripts are directly obtained from the database for use.
And step 205, generating an engineering catalog of each operating system according to a preset rule according to the first service code and the application platform certificate.
And step 206, executing the packaging script on the engineering catalog of the operating system to generate application programs based on different operating systems.
In this step, when the engineering catalog of each operating system is generated according to preset rules, the preset rules may include, but are not limited to: some operating rules when generating the engineering catalog. For example, the preset rule may be a file replacement operation, an information change replacement operation, and the like. Of course, the rules preset by different operating systems may be different.
Step 207, receiving a plug-in for adding in the application program.
In this step, the pre-configured plug-in is added to the application program, so that not only can the functions of the application program be expanded, but also the user can directly request to use the pre-configured plug-in the process of developing the application program through the pre-configured plug-in, the user does not need to write the implementation code of the plug-in again, and the development difficulty is further reduced.
And 208, packaging and generating application programs of different operating systems according to the first service code, the identification information and the plug-in.
And step 209, generating bottom hardware programs of different operating systems by packaging according to the second service code and the identification information.
As shown in fig. 3 and fig. 4, an embodiment of the present invention provides a device in which a generating apparatus of a number taking client program is located and a generating apparatus of a number taking client program. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. From a hardware level, as shown in fig. 3, a hardware structure diagram of a device in which a generating apparatus of a number-fetching client program provided in the embodiment of the present invention is located is shown, where in addition to the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 3, the device in which the apparatus is located in the embodiment may also include other hardware, such as a forwarding chip responsible for processing a packet, and the like. Taking a software implementation as an example, as shown in fig. 4, as a logical apparatus, the apparatus is formed by reading a corresponding computer program instruction in a non-volatile memory into a memory by a CPU of a device in which the apparatus is located and running the computer program instruction.
As shown in fig. 4, the generating device of the number-taking client program provided in this embodiment includes:
a first receiving module 401, configured to receive a creation instruction carrying identification information corresponding to different operating systems;
a second receiving module 402, configured to receive the first source code of the application program and the second source code of the underlying hardware program;
a service construction module 403, configured to perform service construction on the first source code and the second source code, and generate a first service code of the application program and a second service code of the bottom-layer hardware program;
a first packaging module 404, configured to package and generate application programs of different operating systems according to the first service code and the identification information;
a second packaging module 405, configured to package and generate bottom hardware programs of different operating systems according to the second service code and the identification information.
In this embodiment of the present invention, the first receiving module 401 may be configured to execute step 101 in the foregoing method embodiment, the second receiving module 402 may be configured to execute step 102 in the foregoing method embodiment, the service constructing module 403 may be configured to execute step 103 in the foregoing method embodiment, the first packing module 404 may be configured to execute step 104 in the foregoing method embodiment, and the second packing module 405 may be configured to execute step 105 in the foregoing method embodiment.
In an embodiment of the present invention, the first packetizing module 404 is further configured to:
acquiring an application platform certificate and a packaging script of the operating system corresponding to the identification information according to the identification information;
generating an engineering directory of each operating system according to the first service code and the application platform certificate and preset rules;
and executing the packaging script on the engineering catalog of the operating system to generate application programs based on different operating systems.
In an embodiment of the present invention, the first packetizing module 404 is further configured to:
receiving a plug-in for adding in the application program; the plug-ins comprise plug-ins constructed based on client technology and/or plug-ins constructed based on client technology and cloud service technology;
and according to the first service code, the identification information and the plug-in, packaging and generating application programs of different operating systems.
In an embodiment of the present invention, the second receiving module 402 is further configured to:
receiving source codes of the application program written by a user in a local Integrated Development Environment (IDE) by adopting Vue as a template language;
the first packetizing module 404 is further configured to:
and generating application programs of different operating systems by adopting an Electron framework package according to the first service code and the identification information.
It is to be understood that the schematic structure in the embodiment of the present invention does not form a specific limitation on the generating apparatus of the number-taking client program. In other embodiments of the invention, the generating means of the fetching client program may comprise more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Because the content of information interaction, execution process, and the like among the modules in the device is based on the same concept as the method embodiment of the present invention, specific content can be referred to the description in the method embodiment of the present invention, and is not described herein again.
The embodiment of the present invention further provides a device for generating a number-taking client program, including: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine-readable program to execute the generating method of the number-taking client program in any embodiment of the present invention.
Embodiments of the present invention also provide a computer-readable medium storing instructions for causing a computer to execute the generating method of the number-taking client program as described herein. Specifically, a method or an apparatus equipped with a storage medium on which a software program code that realizes the functions of any of the above-described embodiments is stored may be provided, and a computer (or a CPU or MPU) of the method or the apparatus is caused to read out and execute the program code stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments can be implemented not only by executing the program code read out by the computer, but also by performing a part or all of the actual operations by an operation method or the like operating on the computer based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
In summary, the generating method, the generating device and the readable medium of the number-taking client program provided by the embodiments of the present invention at least have the following beneficial effects:
1. in the embodiment of the present invention, the method for generating a number-taking client program provided by the present invention receives a creation instruction carrying identification information corresponding to different operating systems; receiving a first source code of an application program and a second source code of an underlying hardware program; performing service construction on the first source code and the second source code to generate a first service code of an application program and a second service code of a bottom hardware program; according to the first service code and the identification information, packaging and generating application programs of different operating systems; and according to the second service code and the identification information, packaging to generate bottom hardware programs of different operating systems. Therefore, the client program in the number-obtaining machine can be compatible with different operating systems, namely Mac, Windows, Linux and other operating systems are supported; moreover, repeated development can be avoided, and the technical route is prevented from being non-uniform; in addition, when the application program is generated, the application program can be generated only by submitting the source code of the application program by a developer, the developer does not need to have higher development skills, and the development difficulty is reduced.
2. In the embodiment of the present invention, the application platform certificates and the packaging scripts corresponding to different operating systems may be stored in a cloud platform (not shown in the figure) in advance, and are directly obtained and used when an application program for each operating system is generated by packaging. Of course, the application platform certificates and the packaging scripts corresponding to different operating systems may also be stored in the memory communicatively connected to the cloud platform. For example, the application platform certificates and the packaging scripts corresponding to different operating systems are stored in a database connected with the cloud platform, and when the application programs for each operating system are generated by packaging, the application platform certificates and the packaging scripts are directly obtained from the database for use.
3. In the embodiment of the invention, when the application program is generated by packaging, the pre-configured plug-in is added in the application program, so that the function of the application program can be expanded, and a user can directly request to use the pre-configured plug-in the process of developing the application program by pre-configuring the plug-in, and the user does not need to write the implementation code of the plug-in, thereby further reducing the development difficulty.
4. In the embodiment of the present invention, when a user writes program code in an interface writing environment provided by a local IDE, Vue may be used as a template language for writing, and other languages may also be used for writing, for example, Java language is used for writing, which is not limited in this application. Vue supports the function of separating front and back ends, so that the design of front end art designing and the development of back programs are separated, and the design and the development are facilitated; the Electron is a cross-platform development framework which is based on Chromium and node.js and uses HTML, CSS and JavaScript to construct cross-platform application, and can be better compatible with operating systems such as Mac, Windows and Linux.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. The method for generating the number-taking client program is characterized by comprising the following steps:
receiving a creation instruction carrying identification information corresponding to different operating systems;
receiving a first source code of the application program and a second source code of the underlying hardware program; wherein the bottom layer hardware program is used for driving an identity card reader;
performing service construction on the first source code and the second source code to generate a first service code of the application program and a second service code of the bottom hardware program;
according to the first service code and the identification information, packaging and generating application programs of different operating systems;
and according to the second service code and the identification information, packaging and generating bottom hardware programs of different operating systems.
2. The method of claim 1, wherein the packaging and generating applications of different operating systems according to the first service code and the identification information comprises:
acquiring an application platform certificate and a packaging script of the operating system corresponding to the identification information according to the identification information;
generating an engineering directory of each operating system according to the first service code and the application platform certificate and preset rules;
and executing the packaging script on the engineering catalog of the operating system to generate application programs based on different operating systems.
3. The method of claim 1, wherein the packaging and generating applications of different operating systems according to the first service code and the identification information comprises:
receiving a plug-in for adding in the application program; the plug-ins comprise plug-ins constructed based on client technology and/or plug-ins constructed based on client technology and cloud service technology;
and according to the first service code, the identification information and the plug-in, packaging and generating application programs of different operating systems.
4. The method of any of claims 1-3, wherein receiving the first source code for the application comprises:
receiving source codes of the application program written by a user in a local Integrated Development Environment (IDE) by adopting Vue as a template language;
the generating of the application programs of different operating systems by packaging according to the first service code and the identification information includes:
and generating application programs of different operating systems by adopting an Electron framework package according to the first service code and the identification information.
5. The generation device of the number-taking client program is characterized by comprising:
the first receiving module is used for receiving a creation instruction carrying identification information corresponding to different operating systems;
a second receiving module, configured to receive the first source code of the application program and the second source code of the underlying hardware program; wherein the bottom layer hardware program is used for driving an identity card reader;
a service construction module, configured to perform service construction on the first source code and the second source code, and generate a first service code of the application program and a second service code of the underlying hardware program;
the first packing module is used for packing and generating application programs of different operating systems according to the first service code and the identification information;
and the second packing module is used for packing and generating bottom hardware programs of different operating systems according to the second service code and the identification information.
6. The apparatus of claim 5, wherein the first packetization module is further configured to:
acquiring an application platform certificate and a packaging script of the operating system corresponding to the identification information according to the identification information;
generating an engineering directory of each operating system according to the first service code and the application platform certificate and preset rules;
and executing the packaging script on the engineering catalog of the operating system to generate application programs based on different operating systems.
7. The apparatus of claim 5, wherein the first packetization module is further configured to:
receiving a plug-in for adding in the application program; the plug-ins comprise plug-ins constructed based on client technology and/or plug-ins constructed based on client technology and cloud service technology;
and according to the first service code, the identification information and the plug-in, packaging and generating application programs of different operating systems.
8. The apparatus of claim 7, wherein the second receiving module is further configured to:
receiving source codes of the application program written by a user in a local Integrated Development Environment (IDE) by adopting Vue as a template language;
the first packing module is further configured to:
and generating application programs of different operating systems by adopting an Electron framework package according to the first service code and the identification information.
9. The generation device of the number-taking client program is characterized by comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program to perform the method of any of claims 1 to 4.
10. Computer readable medium, characterized in that it has stored thereon computer instructions which, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 4.
CN202010747979.4A 2020-07-30 2020-07-30 Method and device for generating number-taking client program and readable medium Pending CN111880799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010747979.4A CN111880799A (en) 2020-07-30 2020-07-30 Method and device for generating number-taking client program and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010747979.4A CN111880799A (en) 2020-07-30 2020-07-30 Method and device for generating number-taking client program and readable medium

Publications (1)

Publication Number Publication Date
CN111880799A true CN111880799A (en) 2020-11-03

Family

ID=73201289

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010747979.4A Pending CN111880799A (en) 2020-07-30 2020-07-30 Method and device for generating number-taking client program and readable medium

Country Status (1)

Country Link
CN (1) CN111880799A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467854A (en) * 2021-06-01 2021-10-01 北京达佳互联信息技术有限公司 Application program starting method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6968541B1 (en) * 2000-10-04 2005-11-22 International Business Machines Corporation Apparatus and method for template instantiation with a cross compiler
CN109656538A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Generation method, device, system, equipment and the medium of application program
CN109800838A (en) * 2019-01-16 2019-05-24 广东金赋科技股份有限公司 Government affairs handle method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6968541B1 (en) * 2000-10-04 2005-11-22 International Business Machines Corporation Apparatus and method for template instantiation with a cross compiler
CN109656538A (en) * 2017-10-11 2019-04-19 阿里巴巴集团控股有限公司 Generation method, device, system, equipment and the medium of application program
CN109800838A (en) * 2019-01-16 2019-05-24 广东金赋科技股份有限公司 Government affairs handle method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王守华;李智;: "ARM平台上LXIC类仪器底层驱动和应用程序开发", 计算机测量与控制, no. 08 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113467854A (en) * 2021-06-01 2021-10-01 北京达佳互联信息技术有限公司 Application program starting method and device, electronic equipment and storage medium
CN113467854B (en) * 2021-06-01 2023-10-24 北京达佳互联信息技术有限公司 Application program starting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US7962496B2 (en) Migrating personality of computing environment from source platform to target platform
RU2250490C2 (en) Network-based presentation of software extensions
CN111740948B (en) Data packet issuing method, dynamic updating method, device, equipment and medium
WO2021098392A1 (en) Application deployment method and apparatus, electronic device and storage medium
CN112769706B (en) Componentized routing method and system
US12014170B2 (en) Mini program batch processing method and apparatus, electronic device, and readable storage medium
CN111752587A (en) Batch processing method and device of small programs, electronic equipment and readable storage medium
CN112199079A (en) System docking method, computing device and storage medium
CN113761412A (en) Application page display method and device, electronic equipment, medium and application system
CN112087370A (en) Method, system, electronic device and computer-readable storage medium for issuing GitHub Issues
CN114911518A (en) Cloud function application release management method, system, equipment and storage medium
CN111880799A (en) Method and device for generating number-taking client program and readable medium
CN112835568A (en) Project construction method and device
CN116360741A (en) Applet development method, system, device and storage medium
CN113239328B (en) Service function acquisition method and device, electronic equipment and storage medium
CN111752559B (en) Front-end and back-end separation system, method, device and storage medium
CN113656041A (en) Data processing method, device, equipment and storage medium
CN114238831A (en) HTML code fragment processing method, system, electronic equipment and storage medium
CN109509467B (en) Code generation method and device
CN113377376A (en) Data packet generation method, data packet generation device, electronic device, and storage medium
CN112379885A (en) Applet compiling method, device and equipment and readable storage medium
CN113791819A (en) Interface document generation method and device, storage medium and electronic equipment
CN111176718A (en) Script online method and device, storage medium and electronic equipment
CN116225394A (en) Method, device, electronic equipment and storage medium for creating cloud development environment
CN109347972B (en) System deployment method, related device and 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