CN115291877A - Service development method, device, terminal equipment and computer readable storage medium - Google Patents

Service development method, device, terminal equipment and computer readable storage medium Download PDF

Info

Publication number
CN115291877A
CN115291877A CN202211231278.0A CN202211231278A CN115291877A CN 115291877 A CN115291877 A CN 115291877A CN 202211231278 A CN202211231278 A CN 202211231278A CN 115291877 A CN115291877 A CN 115291877A
Authority
CN
China
Prior art keywords
target
service
user terminal
target user
access
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
CN202211231278.0A
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.)
Shenzhen Mingyuan Yunke E Commerce Co ltd
Original Assignee
Shenzhen Mingyuan Yunke E Commerce 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 Shenzhen Mingyuan Yunke E Commerce Co ltd filed Critical Shenzhen Mingyuan Yunke E Commerce Co ltd
Priority to CN202211231278.0A priority Critical patent/CN115291877A/en
Publication of CN115291877A publication Critical patent/CN115291877A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/107License processing; Key processing
    • G06F21/1078Logging; Metering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Abstract

The invention discloses a service development method, a device, terminal equipment and a computer readable storage medium, which relate to the technical field of computers and comprise the following steps: determining an access link of the target user terminal for accessing the target function according to an access instruction sent by the target user terminal; when the access link is a webpage plug-in link corresponding to the access page, acquiring tag data of a target user terminal according to the access page, embedding a target function into the access page according to the tag data and determining a target function service, wherein the target function service is matched with the access page; when the access link is an application port link corresponding to the application port, determining target function service according to the application port; and operating the functional service logic corresponding to the target functional service, and outputting the target functional service to the target user terminal so that the target user terminal can execute service development operation based on the target functional service.

Description

Service development method, device, terminal equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for service development, a terminal device, and a computer-readable storage medium.
Background
With the continuous development of the computer research and development industry, software research and development also take an increasingly important position in the computer industry, and currently, each software research and development team mainly adopts a full self-research mode, a self-research and outsourcing combination mode, a self-research and code purchasing combination mode or a self-research and product purchasing combination mode.
However, the software research and development using the self-research mode may entail a large amount of research and development work of the software research and development team, and when the industry has new practice, the software that has been researched and developed needs to be continuously updated in an iterative manner and continuously invested in research and development resources, while the software research and development using the mode combining self-research and outsourcing may cause difficulty in research and development due to the unstable factors of the outsourcing team, and the software that has been researched and developed is difficult to maintain, and the software that has been researched and developed still needs to be repeatedly updated and continuously invested in a large amount of resources by the software research and development team, and the purchased source code is difficult to meet the business requirements.
Therefore, how to reduce the labor and time costs generated in the software development process and reduce the data communication work performed on each system in the software development process becomes a technical problem to be solved urgently in the industry.
Disclosure of Invention
The embodiment of the invention provides a service development method, terminal equipment and a computer readable storage medium, and aims to avoid data communication work on different systems in a software development process, further realize the technical effect that a developer and a function provider can respectively iterate own products after the development is finished, and reduce the labor and time cost generated in the software development process.
The invention provides a service development method, which is applied to terminal equipment, wherein the terminal equipment links a target user terminal and a target function through a preset access page and a preset application port, and the service development method comprises the following steps:
determining an access link of the target user terminal for accessing the target function according to the access instruction sent by the target user terminal;
when the access link is a webpage plug-in link corresponding to the access page, acquiring tag data of the target user terminal according to the access page, embedding the target function into the access page according to the tag data and determining a target function service, wherein the target function service is matched with the access page;
when the access link is an application port link, determining the target function service according to an application port corresponding to the application port link;
and running a function business logic corresponding to the target function service, and outputting the target function service to the target user terminal so that the target user terminal can execute business development operation based on the target function service.
Further, the method further comprises:
when the access link is determined to be the webpage plug-in link, obtaining login verification information of the target user terminal through the access page;
and verifying the login verification information to obtain a verification result, and outputting a functional service corresponding to the verification result.
Further, the step of obtaining the login authentication information of the target user terminal through the access page includes:
acquiring label address information of the target user terminal through the access page;
and generating target verification information corresponding to the label address information, and combining the label address information and the target verification information to obtain login verification information.
Further, the step of verifying the login verification information to obtain a verification result includes:
comparing the label address information contained in the login verification information with a preset label address information database to obtain a first comparison result;
comparing the target verification information contained in the login verification information with a preset verification information database to obtain a second comparison result;
determining the verification result based on the first alignment result and the second alignment result, wherein the verification result comprises verification pass and verification fail.
Further, the method is applied to the number of the target functions is more than one, and the method further comprises the following steps:
when the target user terminal is detected to trigger the registration operation, acquiring the registration parameters of the target user terminal through the access page and/or the application port;
acquiring registration requirements corresponding to the target functions respectively, and injecting the registration requirements into the registration parameters to obtain sub-registration identifiers corresponding to the target functions respectively;
and generating target corresponding relation identifications corresponding to the target user terminal and the target functions according to the sub-registration identifications.
Further, after the step of generating the target corresponding relationship identifier corresponding to the target user terminal and each target function according to each sub-registration identifier, the method further includes:
receiving a service execution instruction sent by the target user terminal, and extracting the target corresponding relation identification carried in the service execution instruction;
and determining the target function corresponding to the service execution instruction in each target function according to the target corresponding relation identifier.
Further, before the step of determining an access link for the target user terminal to access the target function according to the access instruction sent by the target user terminal, the method further includes:
reading preset functional logic editing parameters;
and controlling the target function reserved editable space according to the function logic editing parameters so that the target user terminal can store the respective defined function service logic based on the application port.
In addition, to achieve the above object, the present invention further provides a service development apparatus, where the service development apparatus is applied to a terminal device, and the terminal device links a target user terminal and a target function through a preset access page and a preset application port, and the apparatus includes:
the link confirmation module is used for determining the access link of the target user terminal for accessing the target function according to the access instruction sent by the target user terminal;
a first determining module, configured to, when the access link is a web add-in link corresponding to the access page, obtain tag data of the target user terminal according to the access page, embed the target function into the access page according to the tag data, and determine a target function service, where the target function service is to be matched with the access page;
a second determining module, configured to determine the target function service according to an application port corresponding to the application port link when the access link is the application port link;
and the function determining module is used for operating the function business logic corresponding to the target function service and outputting the target function service to the target user terminal so that the target user terminal can execute business development operation based on the target function service.
In addition, to achieve the above object, the present invention also provides a terminal device, including: the system comprises a memory, a processor and a service development program stored on the memory and capable of running on the processor, wherein the service development program realizes the steps of the service development method when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium, on which a service development program is stored, and the service development program, when executed by a processor, implements the steps of the service development method as described above.
The service development method, the terminal device and the computer readable storage medium provided by the embodiment of the invention are applied to the terminal device, the terminal device links a target user terminal and a target function through a preset access page and a preset application port, and determines an access link of the target user terminal for accessing the target function according to an access instruction sent by the target user terminal; when the access link is a webpage plug-in link corresponding to the access page, acquiring tag data of the target user terminal according to the access page, embedding the target function into the access page according to the tag data and determining a target function service, wherein the target function service is matched with the access page; when the access link is an application port link corresponding to the application port, determining the target function service according to the application port; and running a function business logic corresponding to the target function service, and outputting the target function service to the target user terminal so that the target user terminal can execute business development operation based on the target function service.
In this embodiment, before a terminal device operates, a target user terminal and a target function are linked through a preset access page and a preset application port, when the terminal device operates, an access instruction sent by the target user terminal is received first, the terminal device inputs the access instruction into an instruction processing module built in the terminal device, the instruction processing module determines an access link of the target user terminal for accessing the target function according to the access instruction, when the terminal device determines that the access link is a web plug-in link corresponding to the preset access page, the terminal device obtains tag data of the target user terminal according to the access page and a web service obtaining flow corresponding to the access page, embeds the target function into the access page according to the tag data, and determines a target function service in the target function, when the terminal device determines that the access link is an application port link corresponding to the preset application port, the terminal device determines the target function service in the target function according to the application port, and finally, the terminal device operates a function service logic corresponding to the target function, inputs the target function into the application port corresponding to the terminal device, and performs visualization operation on the target function of the terminal device based on the target service input operation of the target service.
Therefore, the invention adopts the mode that the target user terminal is linked with the target function by the webpage plug-in link and the application port link, the target function service is determined in the target function according to the access instruction sent by the target user terminal and the access link corresponding to the access instruction, and finally the function business logic corresponding to the target function service is operated to provide the target user terminal for business development operation based on the target function service, so that the data communication work of different systems is not needed in the software development process, the technical effect that a developer and a function provider can respectively iterate own products after the development is finished is realized, and the labor and time cost generated in the software development process is reduced.
Drawings
Fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a first embodiment of a service development method according to the present invention;
fig. 3 is a flowchart illustrating a service development method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of a service development method according to the present invention;
fig. 5 is a schematic view of an application scenario involved in an embodiment of the service development method of the present invention;
fig. 6 is a schematic diagram illustrating a target function service acquisition process according to an embodiment of a service development method of the present invention;
fig. 7 is a schematic diagram illustrating a user login verification process according to an embodiment of the service development method of the present invention;
fig. 8 is a schematic diagram illustrating a user logout process according to an embodiment of the service development method of the present invention;
fig. 9 is a schematic diagram illustrating a target correspondence identifier registration flow according to an embodiment of a service development method of the present invention;
fig. 10 is a schematic diagram of functional modules involved in a service development method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a terminal device in a hardware operating environment according to an embodiment of the present invention.
The terminal device targeted by the embodiment of the present invention may be a fixed terminal device that links the target user terminal and the target function through the access page and the API interface, and of course, the terminal device may also be other fixed terminal devices such as a PC (Personal Computer), a server, and the like, or mobile terminal devices such as a mobile phone, a tablet, and the like.
As shown in fig. 1, the terminal device may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) Memory, or may be a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001 described previously.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a data storage module, a network communication module, a user interface module, and a service development program.
In the terminal device shown in fig. 1, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 in the terminal device of the present invention may be arranged in the terminal device, and the terminal device invokes the service development program stored in the memory 1005 through the processor 1001 and executes the service development method provided by the embodiment of the present invention.
Based on the terminal device, the invention provides various embodiments of the service development method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a service development method according to the present invention.
It will be appreciated that, although a logical order is illustrated in the flow chart, in some cases, the business development method of the present invention may of course perform the steps illustrated or described in a different order than that illustrated or described herein.
In this embodiment, the service development method of the present invention may include the following steps:
step S10: determining an access link of the target user terminal for accessing the target function according to the access instruction sent by the target user terminal;
in this embodiment, before the terminal device operates, a target user terminal and a target function are linked through an access page and an application port preset by a developer, when the terminal device operates, the terminal device receives an access instruction sent by the target user terminal, and inputs the access instruction to an instruction processing device built in the terminal device, and the instruction processing device determines, according to the access instruction, an access connection of the target user terminal to access the target function.
For example, please refer to fig. 5, fig. 5 is an application scenario diagram related to an embodiment of the service development method of the present invention, before the terminal device operates, first links the target user terminal and the target function through the access page and the API interface at an access boundary, and then, please refer to fig. 6, fig. 6 is a target function service acquisition flow diagram related to an embodiment of the service development method of the present invention, when the terminal device operates, the terminal device detects whether an access instruction sent by the target user terminal is received, when the terminal device detects that the target user terminal sends the access instruction, the terminal device inputs the access instruction to an instruction processing module built in the terminal device, and the instruction processing module determines a transmission path of the access instruction, thereby determining an access link of the target user accessing the target function (chip service in the figure).
Further, in a possible embodiment, before the step S10, the service development method of the present invention may further include:
step D10: reading preset functional logic editing parameters;
step D20: controlling the target function to reserve an editable space according to the function logic editing parameters so that the target user terminal can store respective defined function service logics based on the application port;
illustratively, for example, the terminal device reads the storage device in advance to obtain the function logic editing parameters stored in advance in the storage device by the developer, and then, the terminal device controls the target function according to the function logic editing parameters, and the terminal device controls the target function to reserve a certain amount of editable space according to the function logic editing parameters, so that a user of the target user terminal can store the self-defined function service logic in the editable space through the API port or modify and edit the function service logic in the target function.
It should be noted that, in this embodiment, the functional service logic mainly functions to perform a data conversion operation, that is, after receiving a service data stream sent by a target user terminal, the terminal device may convert data generated by a target functional service by running the functional service logic so as to obtain service data matched with a control system integrated in the target user terminal, and since an editable space is reserved in the target function, a user of the target user terminal may also customize various types of functional service logic and store the respective defined functional service logic on the target function.
Step S20: when the access link is a webpage plug-in link corresponding to the access page, acquiring tag data of the target user terminal according to the access page, embedding the target function into the access page according to the tag data and determining a target function service, wherein the target function service is matched with the access page;
in this embodiment, when determining that the access link is a web add-in link corresponding to an access page preset by a developer, the terminal device obtains tag data of the target user terminal through the access page, and meanwhile, obtains a program conversion architecture stored in advance by the developer, embeds a target function into the access page through the program conversion architecture, and determines a target function service in the target function through the tag data, and adjusts the target function service and the access page to an adapted state.
For example, as shown in fig. 6, when it is determined that a target user terminal sends an access instruction to a target function through a web add-in link set by a developer, a terminal device reads a storage module to obtain a web service acquisition flow and a Restful API architecture corresponding to the web add-in link, the terminal device acquires http iframe tag data in the target user terminal through the access page according to the web service acquisition flow, then, the terminal device embeds the target function into the target user terminal based on the http iframe tag data and the Restful API architecture, determines a target function service in a back end of the target function based on the http iframe tag data, and adjusts a UI interface and color matching of the target function service to be adapted to the access page.
Step S30: when the access link is an application port link corresponding to the application port, determining the target function service according to the application port;
in this embodiment, when the terminal device determines that the access link is an application port link corresponding to an application port preset by a developer, the terminal device obtains a program conversion architecture pre-stored by the developer, and determines a target function service in a target function through the program conversion architecture and the application port.
For example, as shown in fig. 6, when determining that an access link is an API port link corresponding to an API port preset by a developer, the terminal device reads the storage module to obtain a port service acquisition flow and a Restful API architecture corresponding to the API port link, and the terminal device determines a target function service in a backend of a target function through the API port based on the Restful API architecture.
Step S40: running a function service logic corresponding to the target function service, and outputting the target function service to the target user terminal so that the target user terminal can execute service development operation based on the target function service;
in this embodiment, after determining the target function service, the terminal device runs a function service logic corresponding to the target function service, converts data carried in the access instruction through the function service logic, and inputs the target function service to the back end of the target user terminal, so that the back end of the target user terminal performs service development operation based on the function of the target function service.
Illustratively, for example, as shown in fig. 6, after a terminal device determines a target function service, the terminal device runs a function business logic corresponding to the target function service, converts business data carried in an access instruction into target business data matched with a system integrated in the target function through the function business logic, simultaneously, the terminal device executes a function corresponding to the target function service, converts data generated by the function through the function business logic to obtain application data matched with a control system integrated in the target user terminal, and then inputs the function to a back end of the target user terminal through a web plug-in link or an API port link, and simultaneously generates a visual interface corresponding to the target function service, and the terminal device inputs the visual interface to a front end of the target user terminal to be displayed to a user of the target user terminal for the user of the target user terminal to perform a business development operation based on the target function service.
In this embodiment, before the terminal device operates, a target user terminal and a target function are linked through an access page and an application port preset by a developer, when the terminal device operates, the terminal device receives an access instruction sent by the target user terminal and inputs the access instruction into an instruction processing device built in the terminal device, the instruction processing device determines an access connection of the target user terminal for accessing the target function according to the access instruction, then when the terminal device determines that the access link is a web plug-in link corresponding to the access page preset by the developer, the terminal device obtains tag data of the target user terminal through the access page, and simultaneously, the terminal device obtains a program conversion architecture stored in advance by the developer and embeds the target function into the access page through the program conversion architecture, the terminal device determines a target function service in the target function through the tag data, then, when the terminal device determines that the access link is an application port link corresponding to an application port preset by a developer, the terminal device obtains a program conversion framework stored in advance by the developer, determines the target function service in the target function through the program conversion framework and the application port, and finally, after the terminal device determines the target function service, runs a function service logic corresponding to the target function service, converts data carried in an access instruction through the function service logic, and inputs the target function service to the rear end of the target user terminal so as to perform service development operation on the rear end of the target user terminal based on the function of the target function service.
Therefore, the invention adopts a mode that the target user terminal is linked with the target function by the webpage plug-in link and the application port link, the target function service is determined in the target function according to the access instruction sent by the target user terminal and the access link corresponding to the access instruction, and finally the function business logic corresponding to the target function service is operated to provide the target user terminal for carrying out business development operation based on the target function service, namely, the target user terminal can carry out remote link with the target function through the webpage plug-in link or the application port link and operate the target function service for development operation, thereby achieving the technical effect that a developer and a function provider do not need to carry out data communication work on different systems in the software development process, further realizing the technical effect that the developer and the function provider can respectively carry out iteration on own products after the development is finished, and reducing the labor and time costs generated in the software development process.
Further, based on the above first embodiment of the service development method of the present invention, a second embodiment of the service development method of the present invention is provided herein.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the service development method of the present invention, and the service development method of the present invention may further include:
step A10: when the access link is determined to be the webpage plug-in link, obtaining login verification information of the target user terminal through the access page;
in this embodiment, when it is determined that a target user terminal initiates access to a target function through a web plug-in link, the terminal device obtains login authentication information for accessing the target user terminal through an access page corresponding to the web plug-in link.
Step A20: verifying the login verification information to obtain a verification result, and outputting a functional service corresponding to the verification result;
in this embodiment, the terminal device inputs the obtained login authentication information of the target user terminal to a login authentication device built in the terminal device, the login authentication device authenticates the login authentication information and obtains an authentication result, and the terminal device obtains a target function service corresponding to the authentication result and inputs the target function service to the target user terminal.
For example, when it is determined that a user accesses a target function through a web plug-in link, the terminal device calls a login system through an access page preset in the web plug-in link by a developer to obtain login authentication information for accessing the target user terminal, then the terminal device inputs the login authentication information into a login authentication module in the terminal device, the login authentication module loads token authentication information and an http iframe address carried in the login authentication information and obtains an authentication result, and the terminal device obtains a target function service corresponding to the authentication result and inputs the target function service into the target user terminal.
Further, in a possible embodiment, the step a10 may specifically include:
step A101: acquiring label address information of the target user terminal through the access page;
in this embodiment, when it is determined that a target user accesses a target function in a web plug-in link mode, a terminal device calls a login verification system preset on an access page by a developer, and obtains tag address information of a target user terminal through the login verification system, and the terminal device inputs the tag address information to an information combination device built in the terminal device.
Step A102: generating target verification information corresponding to the tag address information, and combining the tag address information and the target verification information to obtain login verification information;
in this embodiment, after inputting the tag address information into the information combination device, the terminal device invokes the target function to generate target authentication information corresponding to the tag address information, and inputs the target authentication information into the information combination device, and the information combination device combines the tag address information and the target authentication information to obtain login authentication information.
For example, please refer to fig. 7, where fig. 7 is a schematic diagram of a user login verification process related to an embodiment of the service development method of the present invention, where a terminal device determines that a target user sends an access instruction through a specific web plug-in link, the terminal device calls a login verification system preset by a developer in the web plug-in link, obtains an http iframe address in the target user terminal through the login verification system, inputs the http iframe address information to an information combination device built in the terminal device, and at the same time, the terminal device calls a target function to generate ticket verification information corresponding to the http iframe address, inputs the ticket verification information to the information combination device, and the information combination device combines the http iframe address and the ticket to obtain login verification information corresponding to the target user terminal.
Further, in a possible embodiment, the step a20 may specifically include:
step A201: comparing the tag address information contained in the login verification information with a preset tag address information database to obtain a first comparison result;
in this embodiment, the terminal device inputs the obtained login authentication information to a login authentication device built in the terminal device, the login authentication device extracts tag address information in the login authentication information, and the tag address information is compared with a preset tag address information database to obtain a first comparison result.
Step A202: comparing the target verification information contained in the login verification information with a preset verification information database to obtain a second comparison result;
in this embodiment, the terminal device inputs the obtained login authentication information to a login authentication device built in the terminal device, the login authentication device extracts target authentication information in the login authentication information, and the target authentication information is compared with a preset authentication information database to obtain a second comparison result.
Step A203: determining the verification result based on the first alignment result and the second alignment result, wherein the verification result comprises a verification pass and a verification fail;
in this embodiment, the terminal device receives a first comparison result and a second comparison result sent by the login verification device, and determines whether the verification result is a verification pass or a verification fail based on whether the first comparison result is that the tag address information database includes a target tag address consistent with the tag address information and whether the second comparison result is that the verification information database includes verification information consistent with the target verification information.
Illustratively, for example, as shown in fig. 7, the terminal device inputs the obtained login verification information into a login verification device built in the terminal device, the login verification device extracts an http iframe address in the login verification information, compares the http iframe address with a preset iframe address database to determine whether the iframe address database contains a target http iframe address consistent with the http iframe address, thereby obtaining a first comparison result, and at the same time, the login verification device extracts ticket information in the login verification information, compares the ticket information with a preset ticket verification information database to determine whether the ticket verification information database contains target ticket verification information consistent with the ticket information, thereby obtaining a second comparison result, the login verification device uploads the first comparison result and the second comparison result to the terminal device, the terminal device receives the first comparison result and the second comparison result, the terminal device sends the first comparison result and the second comparison result to the terminal device based on the comparison result and the comparison result to the terminal device, and sends the terminal device obtains the target verification result and the second comparison result as a target verification result before the terminal device receives the first comparison result and the login verification result, and the terminal device sends the terminal device the target verification result as a target verification result before the user passes the verification function, and sends the target verification result, the user access failure prompt that the terminal device sends the terminal device is a target verification function that the user passes the target verification function, and sends the user passes the target verification result, and sends the user failure prompt that the user passes the target verification function, and sends the user pass the user failure.
It should be noted that, in this embodiment, as shown in fig. 8, fig. 8 is a schematic diagram of a user logout flow related to an embodiment of the service development method of the present invention, and the target user terminal may also perform a logout operation after completing the service development operation, that is, when the terminal device detects that the target user terminal exits from the system and is behind the target user terminal, the terminal device cuts off the connection between the target user terminal and the target function service backend (chip backend service in the figure).
In this embodiment, first, when it is determined that a target user terminal initiates access to a target function through a web plug-in link, a terminal device acquires login authentication information for accessing the target user terminal through an access page corresponding to the web plug-in link, then, the terminal device inputs the acquired login authentication information of the target user terminal to a login authentication device built in the terminal device, the login authentication device authenticates the login authentication information and obtains an authentication result, and the terminal device acquires a target function service corresponding to the authentication result and inputs the target function service to the target user terminal.
Therefore, the invention adopts the mode of acquiring the login verification information of the target user terminal through the access page, verifying the login verification information to obtain the verification result and inputting the functional service corresponding to the verification result to the target user terminal, thereby achieving the purposes of protecting the software development process and further ensuring the software development process to be in a safe state.
Further, based on the above-mentioned second embodiment of the service development method of the present invention, a third embodiment of the service development method of the present invention is proposed herein.
Referring to fig. 4, fig. 4 is a flowchart illustrating a system connection allocation method according to a third embodiment of the present invention, where the system connection method further includes:
and step B10: when the target user terminal is detected to trigger the registration operation, acquiring the registration parameters of the target user terminal through the access page and/or the application port;
in this embodiment, the terminal device links a plurality of target functions with the target user terminal through the web plug-in and the application port, and when the terminal detects that the target user terminal triggers the registration operation, the terminal device links the corresponding access page through the web plug-in or obtains the registration parameters of the target user terminal through the application port corresponding to the application port link.
Step B20: acquiring registration requirements corresponding to the target functions respectively, and injecting the registration requirements into the registration parameters to obtain sub-registration identifiers corresponding to the target functions respectively;
in this embodiment, the terminal device first obtains the registration requirements corresponding to each target function, and injects each registration requirement into the registration parameters of the registered target user terminal, so as to obtain the sub-registration identifier corresponding to each target function.
Step B30: generating target corresponding relation identifications corresponding to the target user terminal and the target functions according to the sub-registration identifications;
in this embodiment, the terminal device stores each sub-registration identifier, inputs each sub-registration identifier to a registration apparatus built in the terminal device, and the registration apparatus generates a target correspondence identifier between the target user terminal and each target function according to each sub-registration identifier.
For example, please refer to fig. 9, fig. 9 is a schematic diagram illustrating a target corresponding relationship identifier registration process according to an embodiment of the service development method of the present invention, in which a terminal device first links a target user terminal with a plurality of target functions through a web plug-in link and/or an API port link, and detects whether the target user terminal triggers a registration operation after the link is completed, when the terminal device detects that the target user terminal triggers the registration operation, the terminal device inserts a web page corresponding to the web plug-in link, and/or obtains registration parameters of the target user terminal through an API interface corresponding to the application port link, and at the same time, the terminal device obtains respective registration requirements corresponding to function a (chip a in the figure) and function B (chip B in the figure), and injects the respective registration requirements corresponding to function a and target function B into the registration parameters of the target user terminal, so as to obtain respective sub-registration identifiers corresponding to each target function, and then injects the terminal device into a built-in registration module of the terminal device according to each sub-registration identifier, and the registration module determines a corresponding relationship between the target user terminal and the function a and the target function B according to each sub-registration identifier, and stores a corresponding relationship identifier and/or a corresponding target plug-in the registration result of the target user terminal through the registration port link, and the target user terminal, and the corresponding target plug-in link, and/or the target user interface.
Further, in a possible embodiment, after the step B30, the service development method of the present invention may further include:
step C10: receiving a service execution instruction sent by the target user terminal, and extracting the target corresponding relation identification carried in the service execution instruction;
in this embodiment, when receiving an execution service instruction sent by a target user terminal, a terminal device inputs the execution service instruction to an instruction processing device built in the terminal device, and the instruction processing device extracts a target correspondence identifier carried in the execution service instruction.
Step C20: determining a target function corresponding to the service execution instruction in each target function according to the target corresponding relation identifier;
in this embodiment, the terminal device determines a target demand function in the service execution instruction according to the target correspondence identifier, and determines a target function corresponding to the service execution instruction in each target function according to the target demand function.
Illustratively, for example, as shown in fig. 9, when a terminal device receives an execution service instruction sent by a target user terminal, the terminal device inputs the execution service instruction to an instruction processing apparatus built in the terminal device, the instruction processing apparatus extracts a function access identifier carried in the execution service instruction, the terminal device calls a function through a web plug-in link or an API interface link according to the function access identifier, and meanwhile, the terminal device determines a target correspondence identifier carried in the execution instruction according to the function access identifier and determines a target function corresponding to the execution instruction in each target function according to the target correspondence identifier.
In this embodiment, first, a terminal device links a plurality of target functions with a target user terminal through a web plug-in and an application port, and when the terminal detects that the target user terminal triggers a registration operation, the terminal device links a corresponding access page through the web plug-in or links a corresponding application port through the application port to obtain registration parameters of the target user terminal, then, the terminal device first obtains respective registration requirements corresponding to each target function, and injects the respective registration requirements into the registration parameters of the registered target user terminal, so as to obtain respective sub-registration identifiers corresponding to each target function, and finally, the terminal device stores the respective sub-registration identifiers, inputs the respective sub-registration identifiers into a registration device built in the terminal device, and generates a target corresponding relationship identifier between the target user terminal and each target function according to the respective sub-registration identifiers.
Therefore, the invention adopts the mode of acquiring the registration parameters of the target user terminal and determining the target corresponding relation identification between the target user terminal and each target function according to the respective registration requirements of each target function and the registration parameters, thereby achieving the aim that a developer can accurately call the required target function in a plurality of target functions in the software development process and further improving the operational efficiency of each target function.
In addition, the present invention further provides a service development apparatus, where the service development apparatus of the present invention is applied to a terminal device, and the terminal device links a target user terminal and a target function through a preset access page and a preset application port, please refer to fig. 10, where fig. 10 is a schematic diagram of a functional module according to an embodiment of a service development method of the present invention, as shown in fig. 10, the service development apparatus of the present invention includes:
a link confirmation module 10, configured to determine, according to an access instruction sent by the target user terminal, an access link for the target user terminal to access the target function;
a first determining module 20, configured to, when the access link is a web add-in link corresponding to the access page, obtain tag data of the target user terminal according to the access page, embed the target function into the access page according to the tag data, and determine a target function service, where the target function service is to be matched with the access page;
a second determining module 30, configured to determine the target function service according to an application port corresponding to the application port link when the access link is the application port link;
and the function determining module 40 is configured to run a function service logic corresponding to the target function service, and output the target function service to the target user terminal, so that the target user terminal executes a service development operation based on the target function service.
Further, the link confirmation module 10 includes:
the verification information acquisition unit is used for acquiring login verification information of the target user terminal through the access page when the access link is determined to be the webpage plug-in link;
and the verification result confirmation unit is used for verifying the login verification information to obtain a verification result and outputting the functional service corresponding to the verification result.
Further, an authentication information acquisition unit includes:
a tag obtaining subunit, configured to obtain, through the access page, tag address information of the target user terminal;
and the information combination subunit is used for generating target verification information corresponding to the label address information and combining the label address information and the target verification information to obtain login verification information.
Further, the verification result confirming unit includes:
the first comparison subunit is used for comparing the tag address information contained in the login verification information with a preset tag address information database to obtain a first comparison result;
the second comparison subunit is used for comparing the target verification information contained in the login verification information with a preset verification information database to obtain a second comparison result;
a result determining subunit, configured to determine the verification result based on the first comparison result and the second comparison result, where the verification result includes a verification pass and a verification fail.
Further, the function determining module 40 includes:
a registration operation detection unit, configured to, when it is detected that the target user terminal triggers a registration operation, obtain a registration parameter of the target user terminal through the access page and/or the application port;
a registration requirement injection unit, configured to obtain registration requirements corresponding to each target function, and inject each registration requirement into the registration parameter to obtain a sub-registration identifier corresponding to each target function;
and the corresponding relation generating unit is used for generating target corresponding relation identifications corresponding to the target user terminal and the target functions according to the sub-registration identifications.
Further, the function determining module 40 further includes:
an identifier extraction and confirmation unit, configured to receive a service execution instruction sent by the target user terminal, and extract the target correspondence identifier carried in the service execution instruction;
and the target function confirming unit is used for confirming the target function corresponding to the service execution instruction in each target function according to the target corresponding relation identifier.
Further, the function determining module 40 further includes:
a logic parameter obtaining unit, configured to read a preset functional logic editing parameter;
and the target function control unit is used for controlling the target function reserved editable space according to the function logic editing parameters so as to enable the target user terminal to store the respective defined function service logic based on the application port.
In addition, the present invention also provides a terminal device, where the terminal device has a service development program that can run on a processor, and when the terminal device executes the service development program, the terminal device implements the steps of the service development method according to any one of the above embodiments.
The specific embodiment of the terminal device of the present invention is basically the same as the embodiments of the service development method described above, and will not be described herein again.
Furthermore, the present invention also provides a computer-readable storage medium, on which a service development program is stored, and the service development program, when executed by a processor, implements the steps of the service development method according to any one of the above embodiments.
The specific embodiment of the computer-readable storage medium is substantially the same as the embodiments of the service development method, and is not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above, and includes instructions for enabling a terminal device (e.g., a fixed terminal device that links a target user terminal and a target function through an access page and an API interface, or of course, a PC (Personal Computer), a server, or other fixed terminal devices, or a mobile terminal device such as a mobile phone or tablet) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A service development method is characterized in that the service development method is applied to a terminal device, the terminal device links a target user terminal and a target function through a preset access page and a preset application port, and the service development method comprises the following steps:
determining an access link of the target user terminal for accessing the target function according to the access instruction sent by the target user terminal;
when the access link is a webpage plug-in link corresponding to the access page, acquiring tag data of the target user terminal according to the access page, embedding the target function into the access page according to the tag data and determining a target function service, wherein the target function service is matched with the access page;
when the access link is an application port link corresponding to the application port, determining the target function service according to the application port;
and running a function business logic corresponding to the target function service, and outputting the target function service to the target user terminal so that the target user terminal can execute business development operation based on the target function service.
2. The method of service development according to claim 1, wherein said method further comprises:
when the access link is determined to be the webpage plug-in link, obtaining login verification information of the target user terminal through the access page;
and verifying the login verification information to obtain a verification result, and outputting a functional service corresponding to the verification result.
3. The service development method according to claim 2, wherein the step of obtaining the login authentication information of the target user terminal through the access page comprises:
acquiring label address information of the target user terminal through the access page;
and generating target verification information corresponding to the label address information, and combining the label address information and the target verification information to obtain login verification information.
4. The service development method according to claim 3, wherein the step of verifying the login verification information to obtain a verification result comprises:
comparing the tag address information contained in the login verification information with a preset tag address information database to obtain a first comparison result;
comparing the target verification information contained in the login verification information with a preset verification information database to obtain a second comparison result;
determining the verification result based on the first alignment result and the second alignment result, wherein the verification result comprises verification pass and verification fail.
5. A service development method according to any one of claims 1 to 4 wherein said method is applied to a number of said target functions greater than one, said method further comprising:
when the target user terminal is detected to trigger the registration operation, acquiring the registration parameters of the target user terminal through the access page and/or the application port;
acquiring registration requirements corresponding to the target functions respectively, and injecting the registration requirements into the registration parameters to obtain sub-registration identifiers corresponding to the target functions respectively;
and generating target corresponding relation identifications corresponding to the target user terminal and the target functions according to the sub-registration identifications.
6. The service development method according to claim 5, wherein after the step of generating the target correspondence identifier corresponding to each target function for the target user terminal according to each sub-registration identifier, the method further comprises:
receiving a service execution instruction sent by the target user terminal, and extracting the target corresponding relation identification carried in the service execution instruction;
and determining the target function corresponding to the service execution instruction in each target function according to the target corresponding relation identifier.
7. The service development method according to claim 1, wherein before the step of determining the access link of the target user terminal to access the target function according to the access instruction issued by the target user terminal, the method further comprises:
reading a preset functional logic editing parameter;
and controlling the target function reserved editable space according to the function logic editing parameters so that the target user terminal can store the respective defined function service logic based on the application port.
8. A service development device is characterized in that the service development device is applied to a terminal device, the terminal device links a target user terminal and a target function through a preset access page and a preset application port, and the device comprises:
the link confirmation module is used for determining the access link of the target user terminal for accessing the target function according to the access instruction sent by the target user terminal;
a first determining module, configured to, when the access link is a web add-in link corresponding to the access page, obtain tag data of the target user terminal according to the access page, embed the target function into the access page according to the tag data, and determine a target function service, where the target function service is to be matched with the access page;
a second determining module, configured to determine the target function service according to an application port corresponding to the application port link when the access link is the application port link;
and the function determining module is used for operating the function business logic corresponding to the target function service and outputting the target function service to the target user terminal so that the target user terminal can execute business development operation based on the target function service.
9. A terminal device, characterized in that the terminal device comprises: a memory, a processor and a service development program stored on the memory and executable on the processor, the service development program when executed by the processor implementing the steps of the service development method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a service development program, which when executed by a processor implements the steps of the service development method according to any one of claims 1 to 7.
CN202211231278.0A 2022-10-10 2022-10-10 Service development method, device, terminal equipment and computer readable storage medium Pending CN115291877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211231278.0A CN115291877A (en) 2022-10-10 2022-10-10 Service development method, device, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211231278.0A CN115291877A (en) 2022-10-10 2022-10-10 Service development method, device, terminal equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN115291877A true CN115291877A (en) 2022-11-04

Family

ID=83819252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211231278.0A Pending CN115291877A (en) 2022-10-10 2022-10-10 Service development method, device, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115291877A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144487A (en) * 2018-09-26 2019-01-04 平安普惠企业管理有限公司 Into part business development method, apparatus, computer equipment and storage medium
CN111506366A (en) * 2020-04-17 2020-08-07 咪咕文化科技有限公司 Plug-in calling method and device, electronic equipment and storage medium
CN111666585A (en) * 2020-04-16 2020-09-15 北京百度网讯科技有限公司 Method and device for accessing sub-application, electronic equipment and readable storage medium
CN111949899A (en) * 2019-05-16 2020-11-17 新奥数能科技有限公司 Service integration method and service platform
CN112363755A (en) * 2020-11-20 2021-02-12 成都秦川物联网科技股份有限公司 Low-coupling expansion business system based on plug-in engine injection
CN112825516A (en) * 2019-11-21 2021-05-21 广州凡科互联网科技股份有限公司 Token-based multi-system unified login method
CN113220290A (en) * 2021-04-23 2021-08-06 杭州数跑科技有限公司 Method, device, equipment and storage medium for realizing business function of application
CN113867699A (en) * 2021-10-21 2021-12-31 中国工商银行股份有限公司 Method, device, equipment, medium and program product for implementing service system
CN114356333A (en) * 2022-01-12 2022-04-15 平安科技(深圳)有限公司 Service function configuration method, equipment, storage medium and service system thereof
CN114900559A (en) * 2022-04-11 2022-08-12 北京声智科技有限公司 Management system, terminal, management method, and storage medium
CN114968384A (en) * 2020-08-31 2022-08-30 华为技术有限公司 Function calling method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109144487A (en) * 2018-09-26 2019-01-04 平安普惠企业管理有限公司 Into part business development method, apparatus, computer equipment and storage medium
CN111949899A (en) * 2019-05-16 2020-11-17 新奥数能科技有限公司 Service integration method and service platform
CN112825516A (en) * 2019-11-21 2021-05-21 广州凡科互联网科技股份有限公司 Token-based multi-system unified login method
CN111666585A (en) * 2020-04-16 2020-09-15 北京百度网讯科技有限公司 Method and device for accessing sub-application, electronic equipment and readable storage medium
CN111506366A (en) * 2020-04-17 2020-08-07 咪咕文化科技有限公司 Plug-in calling method and device, electronic equipment and storage medium
CN114968384A (en) * 2020-08-31 2022-08-30 华为技术有限公司 Function calling method and device
CN112363755A (en) * 2020-11-20 2021-02-12 成都秦川物联网科技股份有限公司 Low-coupling expansion business system based on plug-in engine injection
CN113220290A (en) * 2021-04-23 2021-08-06 杭州数跑科技有限公司 Method, device, equipment and storage medium for realizing business function of application
CN113867699A (en) * 2021-10-21 2021-12-31 中国工商银行股份有限公司 Method, device, equipment, medium and program product for implementing service system
CN114356333A (en) * 2022-01-12 2022-04-15 平安科技(深圳)有限公司 Service function configuration method, equipment, storage medium and service system thereof
CN114900559A (en) * 2022-04-11 2022-08-12 北京声智科技有限公司 Management system, terminal, management method, and storage medium

Similar Documents

Publication Publication Date Title
CN108958714B (en) Business component type development method and device, computer equipment and storage medium
CN111090437B (en) Application deployment method and device and computer readable storage medium
CN105760162A (en) Development method for hybrid APP software
CN106406844B (en) Method and device for realizing public number menu of communication interaction platform
CN105765527A (en) Method and apparatus for custom software development kit (SDK) generation
US11816459B2 (en) Graphical user interface programming system
CN105718313A (en) Application operation method and device
CN104834530A (en) Method for developing POS application program and cloud server
CN101840415A (en) Method for controlling local resources through LUA scripts under B/S structure
CN110895471A (en) Installation package generation method, device, medium and electronic equipment
CN112416458A (en) Preloading method and device based on ReactNative, computer equipment and storage medium
CN109101294B (en) Data acquisition method, plug-in, electronic equipment and storage medium
CN106155661A (en) A kind of control cut-in method and device
CN114443171A (en) Configurable service platform and configurable service implementation method
US11604662B2 (en) System and method for accelerating modernization of user interfaces in a computing environment
CN114416056A (en) Page generation method, system, computer equipment and readable storage medium
CN108156534B (en) Method and device for generating demonstration application and computer readable storage medium
CN115291877A (en) Service development method, device, terminal equipment and computer readable storage medium
CN114816361A (en) Method, device, equipment, medium and program product for generating splicing project
CN114860205A (en) Application extension system, method and device of low-code development platform
CN110765610B (en) PDM integration method, PDM integration device, computer equipment and storage medium
CN109901934A (en) The method and apparatus for generating interface help document
CN113703734A (en) Applet generation method and device, electronic equipment and storage medium
KR20140110983A (en) Method and device for implementing plugin upgrade based on instant messaging software
CN112685023A (en) Front-end development processing method, device, equipment and storage medium based on basic library

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221104