A method and system for prior application of cross-platform consumption
Generate a unified application form through employee system list and business query interface, solving the problem of multiple consumption scenarios and complex rules and regulations across platforms, realizing unified application and rules and regulations for cross-platform consumption, reducing the cost of manual application and system docking complexity .
Patent Information
- Application Number
- CN202210208107.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-03
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2042-03-03
AI Technical Summary
The existing system cannot meet the company's pre-application needs for cross-platform multi-consumption scenarios, and the scenarios and rules of different consumption platforms are complex, resulting in high manual application costs and complex system docking.
By establishing an employee system list and business query interface, a unified business format is generated, and employees choose consumption platforms and systems, generate application forms and push them to third-party consumption platforms, and realize unified application and selection of rules and regulations for cross-platform consumption.
It reduces the cost of manual application on different consumer platforms, simplifies the complexity of system docking, and realizes unified application and management of rules and regulations for consumption in multiple scenarios.
Smart Images

Figure CN114565363B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Internet consumption technology, and in particular to a method and system for applying in advance for cross-platform consumption. Background Art
[0002] Currently, when employees need to take a taxi or have a meal on a business trip or for official business, they need to submit a prior application in the system. After approval, the system will bring the previously set default scenarios (such as business travel car scenarios, business banquet scenarios) into the application form and push it to the corresponding car and dining platforms. Generally speaking, there will be different scenarios on the car and dining platforms. Such as car use: travel car, city official car; meal: business banquet, overtime meal, etc. Moreover, under different scenarios, more detailed difference standards will be established to match people of different ranks and positions. Since the system can only bring out one scenario by default, it cannot meet the needs of the enterprise's prior application model for multiple consumption scenarios across platforms. Summary of the invention
[0003] One of the inventive purposes of the present invention is to provide a method and system for prior application for cross-platform consumption. The method and system establish communication connections with multiple consumption platforms. Employees select multiple consumption platforms to execute consumption plans based on prior consumption needs, so that consumption in multiple scenarios can be achieved with a single application, reducing the manual application costs for different consumption platforms.
[0004] Another inventive object of the present invention is to provide a method and system for prior application for cross-platform consumption. The method and system are configured with consumption systems of different platforms. When selecting a consumption platform, a corresponding consumption system can be further selected. The consumption system is pre-established based on the company's rules and regulations, and different consumption systems are selected due to different consumption types in the consumption platform.
[0005] Another object of the present invention is to provide a method and system for prior application for cross-platform consumption. The method and system establish a form field query to select and query the consumption system and consumption platform selected by the user, thereby reducing the complexity of the system's docking with different consumption platforms.
[0006] In order to achieve at least one of the above-mentioned invention objectives, the present invention further provides a method for prior application for cross-platform consumption, the method comprising:
[0007] Establishing an employee system list, the employee system list includes an employee information field and a corresponding business type field;
[0008] Generate a business query interface, use the business query interface to input employee information and business information, and query the corresponding employee system;
[0009] According to the business information, query the business type of the opened third-party consumption platform through the business query interface;
[0010] Call the enabled third-party consumption platform interface, generate and return a unified business format;
[0011] Employees select the business type, generate an application form based on their own system, and transfer it to the corresponding third-party consumption platform to execute consumption.
[0012] According to one of the preferred embodiments of the present invention, the employee information and business information include: employee identity, enterprise code and business type, wherein the business type opened by the corresponding enterprise queried according to the enterprise code and business type includes a third-party platform.
[0013] According to another preferred embodiment of the present invention, if it is found that there are multiple opened third-party consumption platforms for the business type, the employee information is converted into the corresponding third-party consumption platform user through the third-party consumption platform interface, and request information is generated. According to the request information, the employee system list is queried, and if the corresponding third-party consumption platform information exists in the employee system list, a unified format response information is returned.
[0014] According to another preferred embodiment of the present invention, the fields in the unified format of the response information include: platform code appCode, platform name appName, rule code ruleId, rule name ruleName, and scene name scene.
[0015] According to another preferred embodiment of the present invention, an application form is generated on the employee front-end page, wherein the application form includes a field name, a field type, a field code and field options, wherein the field name is a system type, the field code is a consumption rule under the system type, the field type includes a Boolean value BOOLEAN, a string STRING, a single choice SINGLE_SELECT, a multiple choice MULTI_SELECT, and a numeric value NUMBER, and the field optional values include a business type.
[0016] According to another preferred embodiment of the present invention, a standard scenario configuration field is established, and the configured field value is generated and saved, wherein the configured field value includes a scenario value, a document code and a document value, and the corresponding business type is transmitted to the backend according to the scenario value, document code and document value.
[0017] According to another preferred embodiment of the present invention, the employee system list also includes the employee's authority to specify a third-party consumption platform and the authority of the third-party consumption platform to specify a business type. If such authority exists, the employee system in a unified format is returned and an application form is generated.
[0018] According to another preferred embodiment of the present invention, after the employee completes the supplement and selection of the application form, the application form is transmitted to the approval system, and the corresponding approval rules are used to determine whether the application form meets the requirements. If so, a corresponding consumption request is generated to the corresponding third-party consumption platform.
[0019] In order to achieve at least one of the above-mentioned invention purposes, the present invention further provides a system for prior application for cross-platform consumption, wherein the system executes the above-mentioned method for prior application for cross-platform consumption.
[0020] The present invention further provides a computer-readable storage medium storing a computer program, wherein the computer program can be executed by a processor to describe the cross-platform consumption prior application method. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 Shown is a schematic flow chart of a method for prior application for cross-platform consumption according to the present invention. DETAILED DESCRIPTION
[0022] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.
[0023] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the element may be multiple, and the term "one" should not be understood as a limitation on the quantity.
[0024] Please combine Figure 1 The present invention discloses a method and system for applying for cross-platform consumption in advance. The method mainly includes the following steps: first, a system list related to employee consumption is constructed on the server side. The list stores fields such as employee consumption platform, consumption type, consumption rules, and consumption quota, which are used to indicate employee consumption rights on different platforms. Further, according to the opening status between the enterprise and different consumption platforms and in combination with the employee's own consumption rights, an application form for member pre-consumption is generated. After the application form is reviewed, a consumption request is generated from the application form that has passed the review and sent to the corresponding consumption platform to execute the employee's consumption operation.
[0025] Specifically, a business query interface is generated on the client of the employee, and the employee enters the business information on the client to query the activation data of the third-party consumption platform opened by the employee's own company for the business information. For example, the business information includes taxi and accommodation. After entering the company's own query system, the third-party consumption platforms that have been opened for the business information can be queried, including "Didi" and "Meituan", wherein "Didi" is a third-party consumption platform for the taxi business opened by the employee's company, and "Meituan" is a third-party consumption platform for the accommodation business opened by the company. Further call the interface of the third-party consumption platform to generate user information corresponding to the third-party consumption platform, generate request information based on the user information of the third-party consumption platform to query the pre-established employee consumption-related system list, and determine whether there is a corresponding third-party consumption platform field in the employee's consumption-related system list. If so, it means that the employee has consumption authority on the third-party consumption platform, and further obtain the relevant fields in the employee's system list to generate unified format data, wherein the unified format data fields include: platform code appCode, platform name appName, rule code ruleId, rule name ruleName, scene name scene. The platform code is the code of the third-party consumption platform that meets the permission requirements of the employee, the platform name is the Chinese name of the corresponding platform, the rule code is the number of the business rule set by the enterprise itself, the rule name is the business name under the corresponding business rule number, and the scene name is the scene to which the business rule corresponding to the employee system is applicable. For example, if the business data entered by the user is a taxi, the "Didi" third-party consumption platform that meets the permission is found according to the taxi field, and three pre-made taxi business rules are found from the employee system list, namely: appCode: "didi", appName: "Didi Enterprise Edition", ruleId: 001, ruleName: "Business Car", scene: "Pre-trip Approval"; and appCode: "didi", appName: "Didi Enterprise Edition", ruleId: 002, ruleName: "Reception Car", scene: "Pre-trip Approval"; appCode: "didi", appName: "Didi Enterprise Edition", ruleId: 003, ruleName: "Business Car", scene: "Business Travel". The above three rules for generating permissions for the taxi-hailing business generate data in a unified format, and further push the data to the employees' mobile terminals for their selection.
[0026] In one of the preferred embodiments of the present invention, an application form is generated on the employee's mobile terminal for the employee to select, wherein the content of the application form includes field name field_name, field code field_code, field type field_type (including Boolean BOOLEAN, string STRING, single choice SINGLE_SELECT, multiple choice MULTI_SELECT, numerical NUMBER), field optional value options, etc., wherein the field name includes: expense system, field code includes consumption rules, field optional values include but are not limited to car use, catering and travel, etc., wherein the above field optional value is the business type that can be selected by the manager, that is, at the system level, the business type that can be queried is set, and the consumption processing rules are executed in combination with the business type with authority in the employee system list and the third-party consumption platform. The configuration of the employee system list can be configured with different business types and third-party consumption platform permissions according to the employee's rank and employee category. For example, for outsourced employees, the system list of the outsourced employees is no longer configured with business types such as taxis and catering, and the corresponding taxi and catering business types are no longer allocated on the mobile terminal of the outsourced employees. For example, employees at different levels can manage differentiated employee consumption services by modifying the service types of the employee system list. And by querying the employee system list, the interactive operations of different third-party consumption platform service types can be effectively reduced, and the system can be updated by directly maintaining the employee system list, thereby reducing the overall maintenance cost of the system.
[0027] The present invention further pre-configures field values according to preset standard scenarios, and saves the pre-configured field values in a scenario configuration list, wherein the pre-configured field values include: scenario value, document code field_cod and document value field_value, wherein if the scenario value pre-configures a car use business type, for example, the scenario value ent_code=ec001, ec001 is a pre-configured car use business type, then when there are the following configured fields: ent_code=ec001; field_code=EXPENSE_RULE; field_value=1, it indicates that a car use business request is implemented under this scenario, and when an employee clicks on the pre-configured scenario value on a mobile terminal, the car use business request can be automatically pushed to the backend.
[0028] That is to say, according to the field content of the pre-configured employee system list, the employee mobile terminal page can display the fields that can be selected within the employee's authority, and the employee enters the business type that he has the authority to and has been opened with the third-party consumption platform. Further generate an application form for the corresponding business type, fill in the consumption application form for the corresponding business type, and further input the application form into the approval system, and the approval system determines whether the consumption application form is reasonable and compliant. If it is reasonable and compliant, a consumption request is issued to the corresponding third-party consumption platform according to the business type, employee system, scenario information and third-party consumption platform data recorded in the application form.
[0029] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of an electrical, magnetic, optical, electromagnetic, infrared segment, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wire segments, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, electrical wire, optical cable, RF, etc., or any suitable combination of the foregoing.
[0030] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0031] Those skilled in the art should understand that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The objectives of the present invention have been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments. Without departing from the principles, the implementation methods of the present invention may be deformed or modified in any way.
Claims
1. A method for prior application of cross-platform consumption, characterized in that: The method comprises: Establishing an employee system list, the employee system list includes an employee information field and a corresponding business type field, wherein the employee system list also includes the employee's authority to specify a third-party consumption platform and the authority of the third-party consumption platform to specify a business type; Generate a business query interface, use the business query interface to input employee information and business information, and query the corresponding employee system; According to the business information, query the third-party consumption platforms included in the business types opened by the enterprise through the business query interface; Call the enabled third-party consumption platform interface. If it is found that there are multiple enabled third-party consumption platforms for the business type, convert the employee information into the corresponding third-party consumption platform user through the third-party consumption platform interface, generate request information, query the employee system list according to the request information, and if there is corresponding third-party consumption platform information in the employee system list, generate and return a response information in a unified format, wherein the fields in the unified format response information include: platform code appCode, platform name appName, rule code ruleId, rule name ruleName, and scene name scene; The employee selects the business type and generates a consumption request based on the employee's own system, which is then transferred to the corresponding third-party consumption platform for consumption execution; The employee information and business information include: employee identification, enterprise code and business type.
2. A method for prior application for cross-platform consumption according to claim 1, characterized in that: An application form is generated on the employee front-end page, wherein the application form includes field name, field type, field code and field options, wherein the field name is the system type, the field code is the consumption rule under the system type, the field type includes Boolean value BOOLEAN, string STRING, single choice SINGLE_SELECT, multiple choice MULTI_SELECT, numeric value NUMBER, and the field options include business type.
3. A method for prior application for cross-platform consumption according to claim 1, characterized in that: Establish a standard scenario configuration field, generate and save the configured field value, wherein the configured field value includes the scenario value, document code and document value, and transmit the corresponding business type to the backend according to the scenario value, document code and document value.
4. A method for prior application of cross-platform consumption according to claim 1, characterized in that: When the employee completes the supplement and selection of the application form, the application form is transmitted to the approval system, and the corresponding approval rules are used to determine whether the application form meets the requirements. If so, a corresponding consumption request is generated to the corresponding third-party consumption platform.
5. A system for prior application for cross-platform consumption, the system executing a method for prior application for cross-platform consumption as described in any one of claims 1-4.
6. A computer-readable storage medium storing a computer program, wherein the computer program can be executed by a processor to implement the method for prior application of cross-platform consumption as described in any one of claims 1 to 4.
