Disclosure of Invention
The present invention provides the following technical solutions to overcome the above-mentioned drawbacks in the prior art.
An automatic assembly method for finance and tax public number service controls comprises the following steps:
a request step S1, the finance and taxation customizing platform acquires a request of generating a public number by a user, wherein the request comprises user information;
an obtaining step S2 of obtaining location information of the user based on the user information;
a selecting step S3 of selecting one or more controls from a public number service control library based on the location information and the user information;
and a generation step S4, automatically packaging the selected one or more controls as the public numbers of the users and issuing the controls.
Further, the user information includes business license information and legal identity card information of the user.
Further, the operation of the obtaining step S2 is to identify the business license information and the legal identity card information uploaded by the user by using an OCR technology, verify the identified data, perform face recognition verification on the legal person after the verification is passed, and obtain the location information of the user by using a GPS after the face authentication is passed.
Further, the operation procedure of the selecting step S3 is:
acquiring multidimensional data of stock users of the generated public numbers in the area where the users are located based on the position information, wherein the multidimensional data comprise user ages, sexes, academic calendars, positions and grades, professions, accounting titles, working units and income; acquiring market economic data of the area where the position information is located; the method comprises the steps that the graphs of all stock users in the region based on the positions of the stock users are equivalent to form a data point, the equivalent data points of all the stock users are connected, the middle points of the connected lines are connected again, all the middle points form a polygon after being connected, the area of the polygon is calculated, and the area of the polygon is compared with the area of the region to obtain weight data; calculating the similarity between the multidimensional data of the user and the stock user based on the user information, obtaining the stock user most similar to the user, obtaining the control contained in the public number of the stock user, and adjusting the control contained in the public number of the stock user from a public number service control library based on the weight data and the market economy data to obtain one or more controls.
Further, the market economy data is GDP data, wherein the operation of adjusting the controls included in the public number of the inventory user from the public number service control library based on the weight data and the market economy data to obtain one or more controls is as follows: and multiplying the weight data by the market economy data to obtain a region matching index, and adjusting the controls contained in the public account of the stock user based on the corresponding relation between the region matching index and the control set to obtain one or more controls.
The invention also provides an automatic assembly device for the finance and tax public number service control, which comprises:
the request unit 201 is used for acquiring a public number generation request of a user by the finance and taxation customizing platform, wherein the request comprises user information;
an obtaining unit 202, which obtains the location information of the user based on the user information;
a selecting unit 203, which selects one or more controls from a public service control library based on the location information and the user information;
and the generating unit 204 is used for automatically packaging the selected one or more controls as the public numbers of the users and issuing the public numbers.
Further, the user information includes business license information and legal identity card information of the user.
Further, the obtaining unit 202 is configured to identify the business license information and the legal identity card information uploaded by the user by using an OCR technology, verify the identified data, perform face recognition verification on the legal person after the verification is passed, and obtain the location information of the user by using a GPS after the face authentication is passed.
Further, the operation process of the selecting unit 203 is as follows:
acquiring multidimensional data of stock users of the generated public numbers in the area where the users are located based on the position information, wherein the multidimensional data comprise user ages, sexes, academic calendars, positions and grades, professions, accounting titles, working units and income; acquiring market economic data of the area where the position information is located; the method comprises the steps that the graphs of all stock users in the region based on the positions of the stock users are equivalent to form a data point, the equivalent data points of all the stock users are connected, the middle points of the connected lines are connected again, all the middle points form a polygon after being connected, the area of the polygon is calculated, and the area of the polygon is compared with the area of the region to obtain weight data; calculating the similarity between the multidimensional data of the user and the stock user based on user information, acquiring a stock user most similar to the user, acquiring controls contained in the public number of the stock user, and adjusting the controls contained in the public number of the stock user from a public number service control library based on the weight data and market economy data to obtain one or more controls; the market economy data is GDP data, wherein the operation of adjusting the control contained in the public number of the inventory user from a public number service control library based on the weight data and the market economy data to obtain one or more controls is as follows: and multiplying the weight data by the market economy data to obtain a region matching index, and adjusting the controls contained in the public account of the stock user based on the corresponding relation between the region matching index and the control set to obtain one or more controls.
The present invention also proposes a computer-readable storage medium having a computer program stored thereon, the processor executing the program on the storage medium to implement any of the above methods.
The invention relates to an automatic assembly method, a device and a medium for finance and tax public number service controls, wherein the method comprises the following steps: a request step S1, the finance and taxation customizing platform acquires a request of generating a public number by a user, wherein the request comprises user information; an obtaining step S2 of obtaining location information of the user based on the user information; a selecting step S3 of selecting one or more controls from a public number service control library based on the location information and the user information; and a generation step S4, automatically packaging the selected one or more controls as the public numbers of the users and issuing the controls. In the invention, corresponding position information is obtained through user information, then a public number control meeting the requirement of the user is recommended to the user based on the position information and the user information, the public number meeting the requirement of the user is generated based on the controls, the user can generate the own public number without any programming operation, the development time and the development and maintenance cost of the user are saved, and the user experience is improved. The public number is generated, and the requirements of the user can be met more accurately.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an automatic assembly method of fiscal public service controls according to the invention, comprising the following steps:
a request step S1, the finance and taxation customizing platform acquires a request of generating a public number by a user, wherein the request comprises user information; generally, the user information at least includes business license information and legal identity card information of the user, and may further include multidimensional data such as user age, gender, academic calendar, occupation, accounting title, work unit and income, so as to be used for subsequent big data analysis, and facilitate generation of public numbers more meeting the user's needs.
An obtaining step S2 of obtaining location information of the user based on the user information; after the location information of the user is obtained, the area information and the area classification where the user is located are obtained based on the location information, for example, the area may be a city, and the classification may be a first-line city.
A selecting step S3 of selecting one or more controls from a public service control library based on the location information and the user information.
And a generation step S4, automatically packaging the selected one or more controls as the public numbers of the users and issuing the controls.
According to the invention, the corresponding position information is acquired through the user information, then the public number controls meeting the requirements of the user are recommended to the user based on the position information and the user information, the public number meeting the requirements of the user is generated based on the controls, and the user can generate the own public number without any programming operation, so that the development time and development and maintenance cost of the user are saved, and the user experience is improved, which is one of important invention points of the invention.
In one embodiment, the obtaining step S2 is performed by using an OCR technology to identify business license information and legal identity card information uploaded by a user, verify the identified data, perform face recognition verification on the legal person after the verification is passed, and obtain location information of the user through a GPS after the face authentication is passed. The finance and taxation customizing platform disclosed by the invention is accessed to face recognition and OCR recognition technologies, and can use the capabilities of third-party applications such as WeChat authorization, WeChat payment, maps and the like through the WeChat third-party SDK. The public component library can continuously optimize and update the proprietary components in the finance and tax field.
The basic service layer of the finance and tax customizing platform shields the details of a data access layer on one hand and exposes reusable platform-level capability to the application layer on the other hand, and the basic service layer is a main part of a home and garden public platform basic framework and uniformly provides practical capabilities such as authentication, encryption, user management, cache management, log management, configuration management, interface management and control, fusing and current limiting, message pushing, updating and detecting, gray level verification, monitoring and collecting and the like for the application layer, so that each user does not need to design a corresponding program independently to realize various functions, and the finance and tax customizing platform is an important invention point of the invention.
In one embodiment, the operation procedure of the selecting step S3 is as follows: acquiring multidimensional data of stock users of the generated public numbers in the area where the users are located based on the position information, wherein the multidimensional data comprise user ages, sexes, academic calendars, positions and grades, professions, accounting titles, working units and income; acquiring market economic data of the area where the position information is located; the method comprises the steps that the graphs of all stock users in the region based on the positions of the stock users are equivalent to form a data point, the equivalent data points of all the stock users are connected, the middle points of the connected lines are connected again, all the middle points form a polygon after being connected, the area of the polygon is calculated, and the area of the polygon is compared with the area of the region to obtain weight data; calculating the similarity between the multidimensional data of the user and the stock user based on the user information, obtaining the stock user most similar to the user, obtaining the control contained in the public number of the stock user, and adjusting the control contained in the public number of the stock user from a public number service control library based on the weight data and the market economy data to obtain one or more controls. The similarity calculation may be a cosine distance or a euclidean distance calculation.
In one embodiment, the market economy data is GDP data, wherein adjusting controls included in the public account of the inventory user from a public account service control library based on the weight data and market economy data results in operations of one or more controls: and multiplying the weight data by the market economy data to obtain a region matching index, and adjusting the controls contained in the public account of the stock user based on the corresponding relation between the region matching index and the control set to obtain one or more controls. The public number service control library (also called a public number component library) comprises a plurality of independent applications such as free courses, high-quality courses, activities, data downloading, distribution and earning money, member centers, offline registration, live broadcasting halls, paid questions and answers, customer service centers, experience, special areas for landlors, distribution, communities, evaluation, special columns for famous persons, special areas for popular persons, free time limitation, city sharing, circles and the like.
The weight data calculation method is also called a regional algorithm model, is a core model for a home public service platform, and can be called as a partition operation (partition operation) strategy, wherein the strategy is that a market is divided into a plurality of weighted areas, and different service capability sets are respectively formulated according to different elastic requirements of customers in different areas of the market. Cities across the country can be divided into first, second and provinces, third, fourth and other regions. And carrying out weight ratio distribution on a plurality of areas according to market data. Different modes of study differ in business side emphasis in different areas. Through historical big data analysis, a more matched operation service scheme can be obtained.
The invention calculates the region matching index of the city by the product of the weight data and the GDP of the corresponding city, each region matching index corresponds to a control set, the set is provided with one or more controls, namely, the user of the city generally selects the control in the control set, and then the final control of the user is determined based on the similarity between the control set and the stock user, namely, a dual-condition recommendation strategy is used, so that the control recommended to the user is more in line with the actual needs of the user, a public number is generated by the control, and the requirements of the user can be more accurately met, which is another important invention point of the invention.
Fig. 2 shows an automatic assembly device for fiscal public service controls according to the invention, comprising:
the request unit 201 is used for acquiring a public number generation request of a user by the finance and taxation customizing platform, wherein the request comprises user information; generally, the user information at least includes business license information and legal identity card information of the user, and may further include multidimensional data such as user age, gender, academic calendar, occupation, accounting title, work unit and income, so as to be used for subsequent big data analysis, and facilitate generation of public numbers more meeting the user's needs.
An obtaining unit 202, which obtains the location information of the user based on the user information; after the location information of the user is obtained, the area information and the area classification where the user is located are obtained based on the location information, for example, the area may be a city, and the classification may be a first-line city.
And the selecting unit 203 selects one or more controls from the public service control library based on the position information and the user information.
And the generating unit 204 is used for automatically packaging the selected one or more controls as the public numbers of the users and issuing the public numbers.
According to the invention, the corresponding position information is acquired through the user information, then the public number controls meeting the requirements of the user are recommended to the user based on the position information and the user information, the public number meeting the requirements of the user is generated based on the controls, and the user can generate the own public number without any programming operation, so that the development time and development and maintenance cost of the user are saved, and the user experience is improved, which is one of important invention points of the invention.
In an embodiment, the obtaining unit 202 is configured to identify business license information and legal identity card information uploaded by a user by using an OCR technology, verify the identified data, perform face recognition verification on the legal person after the verification is passed, and obtain location information of the user by using a GPS after the face authentication is passed. The finance and taxation customizing platform disclosed by the invention is accessed to face recognition and OCR recognition technologies, and can use the capabilities of third-party applications such as WeChat authorization, WeChat payment, maps and the like through the WeChat third-party SDK. The public component library can continuously optimize and update the proprietary components in the finance and tax field.
The basic service layer of the finance and tax customizing platform shields the details of a data access layer on one hand and exposes reusable platform-level capability to the application layer on the other hand, and the basic service layer is a main part of a home and garden public platform basic framework and uniformly provides practical capabilities such as authentication, encryption, user management, cache management, log management, configuration management, interface management and control, fusing and current limiting, message pushing, updating and detecting, gray level verification, monitoring and collecting and the like for the application layer, so that each user does not need to design a corresponding program independently to realize various functions, and the finance and tax customizing platform is an important invention point of the invention.
In one embodiment, the operation process of the selecting unit 203 is as follows: acquiring multidimensional data of stock users of the generated public numbers in the area where the users are located based on the position information, wherein the multidimensional data comprise user ages, sexes, academic calendars, positions and grades, professions, accounting titles, working units and income; acquiring market economic data of the area where the position information is located; the method comprises the steps that the graphs of all stock users in the region based on the positions of the stock users are equivalent to form a data point, the equivalent data points of all the stock users are connected, the middle points of the connected lines are connected again, all the middle points form a polygon after being connected, the area of the polygon is calculated, and the area of the polygon is compared with the area of the region to obtain weight data; calculating the similarity between the multidimensional data of the user and the stock user based on the user information, obtaining the stock user most similar to the user, obtaining the control contained in the public number of the stock user, and adjusting the control contained in the public number of the stock user from a public number service control library based on the weight data and the market economy data to obtain one or more controls. The similarity calculation may be a cosine distance or a euclidean distance calculation.
In one embodiment, the market economy data is GDP data, wherein adjusting controls included in the public account of the inventory user from a public account service control library based on the weight data and market economy data results in operations of one or more controls: and multiplying the weight data by the market economy data to obtain a region matching index, and adjusting the controls contained in the public account of the stock user based on the corresponding relation between the region matching index and the control set to obtain one or more controls. The public number service control library (also called a public number component library) comprises a plurality of independent applications such as free courses, high-quality courses, activities, data downloading, distribution and earning money, member centers, offline registration, live broadcasting halls, paid questions and answers, customer service centers, experience, special areas for landlors, distribution, communities, evaluation, special columns for famous persons, special areas for popular persons, free time limitation, city sharing, circles and the like.
The weight data calculation method is also called a regional algorithm model, is a core model for a home public service platform, and can be called as a partition operation (partition operation) strategy, wherein the strategy is that a market is divided into a plurality of weighted areas, and different service capability sets are respectively formulated according to different elastic requirements of customers in different areas of the market. Cities across the country can be divided into first, second and provinces, third, fourth and other regions. And carrying out weight ratio distribution on a plurality of areas according to market data. Different modes of study differ in business side emphasis in different areas. Through historical big data analysis, a more matched operation service scheme can be obtained.
The invention calculates the region matching index of the city by the product of the weight data and the GDP of the corresponding city, each region matching index corresponds to a control set, the set is provided with one or more controls, namely, the user of the city generally selects the control in the control set, and then the final control of the user is determined based on the similarity between the control set and the stock user, namely, a dual-condition recommendation strategy is used, so that the control recommended to the user is more in line with the actual needs of the user, a public number is generated by the control, and the requirements of the user can be more accurately met, which is another important invention point of the invention.
The finance and taxation customizing platform adopts an MGR mode to construct a MySQL cluster, and realizes master-slave backup and read-write separation of data. After the main node fails, the main node can be quickly switched to the slave node to provide read-write service to the outside, and after the main node fails and is repaired, the main node can be quickly added into the cluster to serve as the slave node to provide read service to the outside. And the system data is backed up to a disk regularly, so that high availability of the data is ensured. The distributed caching service employs the most commonly used Redis cluster in the industry. The Cluster is built in a sentinel mode or a Cluster (Cluster) mode, and after a master node fails, the Cluster can automatically select a new master node to provide service for the outside, so that the high availability of the cache Cluster is ensured.
The present invention also proposes a computer-readable storage medium having a computer program stored thereon, the processor executing the program on the storage medium to implement any of the above methods.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it should be noted that: although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that: modifications and equivalents may be made thereto without departing from the spirit and scope of the invention and it is intended to cover in the claims the invention as defined in the appended claims.