Automatic character size generation method and device, electronic equipment and readable storage medium

文档序号:1889940 发布日期:2021-11-26 浏览:15次 中文

阅读说明:本技术 字号自动生成方法、装置、电子设备和可读存储介质 (Automatic character size generation method and device, electronic equipment and readable storage medium ) 是由 李海楠 杨宜 邹永强 杨晖 于 2021-10-29 设计创作,主要内容包括:本发明提供一种字号自动生成方法、装置、电子设备和可读存储介质,涉及计算机技术领域。方法包括:获取一目标用户对应的平台名称和目标用户名称;依据第一重复词库对目标用户名称进行重复词校验;若目标用户名称与第一重复词库中的第一用户名称重复,获取第一用户名称对应的第一数字序列中的最大数字编号;将最大数字编号进行自增得到目标数字编号并将目标数字编号存入第一用户名称对应的第一数字序列中;对目标用户名称进行敏感词校验;若目标用户名称存在敏感词,依据用户的平台名称和对应的目标数字编号生成字号。解决了现有技术中个体工商注册时营业执照生成自动化程度低、注册成功率低和用户使用成本高的问题。(The invention provides a character size automatic generation method and device, electronic equipment and a readable storage medium, and relates to the technical field of computers. The method comprises the following steps: acquiring a platform name and a target user name corresponding to a target user; performing repeated word check on the target user name according to the first repeated word bank; if the target user name is repeated with a first user name in a first repeated word bank, acquiring a maximum number in a first number sequence corresponding to the first user name; carrying out self-increment on the maximum number to obtain a target number and storing the target number into a first number sequence corresponding to the first user name; sensitive word verification is carried out on the target user name; and if the target user name has sensitive words, generating a word size according to the platform name of the user and the corresponding target number. The problems of low automation degree of business license generation, low registration success rate and high use cost of users during individual industrial and commercial registration in the prior art are solved.)

1. A method for automatically generating a font size is characterized by comprising the following steps:

acquiring a platform name and a target user name corresponding to a target user;

performing repeated word check on the target user name according to a first repeated word library; a plurality of user names are stored in the first repeated word bank, and each user name corresponds to a first digit sequence for storing a plurality of digit numbers;

if the target user name is repeated with a first user name in the first repeated word bank, acquiring a maximum number in a first number sequence corresponding to the first user name; carrying out self-increment on the maximum number to obtain a target number and storing the target number into a first number sequence corresponding to the first user name;

sensitive word verification is carried out on the target user name;

if the target user name has sensitive words, generating a word size according to the platform name of the user and the corresponding target number; and if the sensitive words do not exist in the target user name, generating a word size according to the platform name of the user, the target user name and the corresponding target number.

2. The method according to claim 1, wherein after the duplicate word check of the target user name according to the first duplicate word bank, the method further comprises:

if the target user name does not have repeated words in the first repeated word bank, performing repeated word check on the target user name according to a second repeated word bank; a plurality of user names are stored in the second repeated word bank, and each user name corresponds to a second digit sequence used for storing a plurality of digit numbers;

if the target user name is the same as a second user name in the second repeated word library, acquiring the maximum number in a second number sequence corresponding to the second user name; and carrying out self-increment on the maximum number to obtain a target number and storing the target number into a second number sequence corresponding to the second user name.

3. The method according to claim 2, wherein after the duplicate word check of the target user name according to the second duplicate word bank, the method further comprises:

if the target user name does not have repeated words in the first repeated word bank and the second repeated word bank, allocating an initial number as a target number corresponding to the target user name; storing the target user name into the first repeated word bank, and storing the target number into a first number sequence corresponding to the target user name; the first repeated word bank is a temporary database and is used for caching user names which can be automatically deleted at regular intervals and are used for word size verification; and the second repeated word bank is used for storing the user names in the word sizes qualified by the word size verification.

4. The automatic font size generation method according to claim 1, wherein after the generation of the font size, the method further comprises:

acquiring an administrative division, target industry information and an organization form of the target user;

and splicing the administrative division, the word size, the target industry information and the organization form to generate a business license name, and calling a first interface to check the business license name.

5. The automatic font size generation method according to claim 4, further comprising:

and if the name of the business license passes the verification, storing the target user name and the corresponding target number in a second repeated word bank, and deleting the target user name and the corresponding target number from the first repeated word bank.

6. The method according to claim 4, wherein when users with the same platform name correspond to the same industry information, the acquiring administrative division, the target industry information and the organization form of the target user comprises:

and acquiring the industry information of a plurality of users with the same platform name as the target user, and taking the industry information as the target industry information of the target user.

7. The method for automatically generating font sizes according to claim 4, wherein the acquiring administrative divisions, target industry information and organization forms of the target users comprises:

and screening to obtain a plurality of categories of industry information corresponding to users in the same operation range as the target user, arranging the industry information in a descending order according to the number of the users corresponding to the industry information of each category, and selecting the industry information with the largest number of users as the target industry information of the target user.

8. The automatic font size generation method according to claim 1, wherein when the font size is checked for sensitive words, the sensitive words are stored in a sensitive word bank in a prefix tree manner.

9. An apparatus for automatically generating a font size, comprising:

the acquisition module is used for acquiring a platform name and a target user name corresponding to a target user;

the repeated word checking module is used for checking repeated words of the target user name according to a first repeated word bank; a plurality of user names are stored in the first repeated word bank, and each user name corresponds to a first digit sequence for storing a plurality of digit numbers;

if the target user name is repeated with a first user name in the first repeated word bank, the repeated word checking module is further used for acquiring the maximum number in a first number sequence corresponding to the first user name; carrying out self-increment on the maximum number to obtain a target number and storing the target number into a first number sequence corresponding to the first user name;

the sensitive word checking module is used for checking the sensitive words of the target user name;

the word size generation module is used for generating a word size according to the platform name of the user and the corresponding target number if the target user name has the sensitive word; and if the sensitive words do not exist in the target user name, generating a word size according to the platform name of the user, the target user name and the corresponding target number.

10. An electronic device, comprising: processor, memory and program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the automatic font size generation method according to any one of claims 1 to 8.

11. A readable storage medium, characterized in that the readable storage medium has stored thereon a program which, when executed by a processor, implements the steps of the automatic font size generation method according to any one of claims 1 to 8.

Technical Field

The embodiment of the invention relates to the technical field of computers, in particular to a method and a device for automatically generating a font size, electronic equipment and a readable storage medium.

Background

In the prior art, the generation of the business license name is to select and fill in information of administrative division (selection), character size (hand filling), industry (hand filling) and organization form (selection) through a page, submit verification to meet the standard, declare name information if verification is passed, store user name information if declaration is successful, return to the selection name information page to reselect and fill in related information until declaration is successful. The individual industrial and commercial registration has the following problems: (1) the current mode has too much user selection and information filling, and the user operation is more complicated. (2) Repeated or sensitive words are easy to appear in name and number, which causes repeated application failure of users, needs repeated operation, greatly reduces user registration efficiency, and brings pressure to the check interface of the business bureau due to repeated submission of the interface layer. (3) The user has high use threshold, the user needs to know the own operation range firstly, use the operation range to find the matched industry, and then select the industry information suitable for being used as the name of the business license of the user from the matched industry information, so that the learning cost and the use cost of the user are high.

Disclosure of Invention

The embodiment of the invention provides a method and a device for automatically generating a word size, electronic equipment and a readable storage medium, which aim to solve the problems of low automation degree of generation of a business license, low registration success rate and high use cost of a user during individual industrial and commercial registration in the prior art.

In order to solve the technical problem, the invention is realized as follows:

in a first aspect, an embodiment of the present invention provides an automatic font size generation method, including:

acquiring a platform name and a target user name corresponding to a target user;

performing repeated word check on the target user name according to a first repeated word library; a plurality of user names are stored in the first repeated word bank, and each user name corresponds to a first digit sequence for storing a plurality of digit numbers;

if the target user name is repeated with a first user name in the first repeated word bank, acquiring a maximum number in a first number sequence corresponding to the first user name; carrying out self-increment on the maximum number to obtain a target number and storing the target number into a first number sequence corresponding to the first user name;

sensitive word verification is carried out on the target user name;

if the target user name has sensitive words, generating a word size according to the platform name of the user and the corresponding target number; and if the sensitive words do not exist in the target user name, generating a word size according to the platform name of the user, the target user name and the corresponding target number.

Optionally, after the duplicate word check is performed on the target user name according to the first duplicate word bank, the method further includes:

if the target user name does not have repeated words in the first repeated word bank, performing repeated word check on the target user name according to a second repeated word bank; a plurality of user names are stored in the second repeated word bank, and each user name corresponds to a second digit sequence used for storing a plurality of digit numbers;

if the target user name is the same as a second user name in the second repeated word library, acquiring the maximum number in a second number sequence corresponding to the second user name; and carrying out self-increment on the maximum number to obtain a target number and storing the target number into a second number sequence corresponding to the second user name.

Optionally, after the duplicate word check is performed on the target user name according to the second duplicate word bank, the method further includes:

if the target user name does not have repeated words in the first repeated word bank and the second repeated word bank, allocating an initial number as a target number corresponding to the target user name; storing the target user name into the first repeated word bank, and storing the target number into a first number sequence corresponding to the target user name; the first repeated word bank is a temporary database and is used for caching user names which can be automatically deleted at regular intervals and are used for word size verification; and the second repeated word bank is used for storing the user names in the word sizes qualified by the word size verification.

Optionally, after generating the font size, the method further includes:

acquiring an administrative division, target industry information and an organization form of the target user;

and splicing the administrative division, the word size, the target industry information and the organization form to generate a business license name, and calling a first interface to check the business license name.

Optionally, the method further includes:

and if the name of the business license passes the verification, storing the target user name and the corresponding target number to the second repeated word bank, and deleting the target user name and the corresponding target number from the first repeated word bank.

Optionally, when users with the same platform name correspond to the same industry information, the acquiring administrative division, the target industry information, and the organization form of the target user includes:

and acquiring the industry information of a plurality of users with the same platform name as the target user, and taking the industry information as the target industry information of the target user.

Optionally, the acquiring the administrative division, the target industry information, and the organization form of the target user includes:

and screening to obtain a plurality of categories of industry information corresponding to users in the same operation range as the target user, arranging the industry information in a descending order according to the number of the users corresponding to the industry information of each category, and selecting the industry information with the largest number of users as the target industry information of the target user.

Optionally, when the word size is checked for the sensitive word, the sensitive word is stored in a sensitive word bank in a prefix tree manner.

In a second aspect, an embodiment of the present invention further provides an apparatus for automatically generating a font size, including:

the acquisition module is used for acquiring a platform name and a target user name corresponding to a target user;

the repeated word checking module is used for checking repeated words of the target user name according to a first repeated word bank; a plurality of user names are stored in the first repeated word bank, and each user name corresponds to a first digit sequence for storing a plurality of digit numbers;

if the target user name is repeated with a first user name in the first repeated word bank, the repeated word checking module is further used for acquiring the maximum number in a first number sequence corresponding to the first user name; carrying out self-increment on the maximum number to obtain a target number and storing the target number into a first number sequence corresponding to the first user name;

the sensitive word checking module is used for checking the sensitive words of the target user name;

the word size generation module is used for generating a word size according to the platform name of the user and the corresponding target number if the target user name has the sensitive word; and if the sensitive words do not exist in the target user name, generating a word size according to the platform name of the user, the target user name and the corresponding target number.

In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor, a memory and a program stored on the memory and executable on the processor, which program, when executed by the processor, carries out the steps of the font size generation method according to any one of the first aspect.

In a fourth aspect, an embodiment of the present invention further provides a readable storage medium, where the readable storage medium stores a program, and the program, when executed by a processor, implements the steps of the font size generating method according to any one of the first aspect.

In the embodiment of the invention, the platform name and the target user name of the target user are obtained, repeated word check and sensitive word check are respectively carried out on the target user name, the word size is further generated according to the check results of different conditions, the operation cost of the user is reduced, and the success rate and the execution efficiency of automatic generation of the word size are improved.

Drawings

Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:

fig. 1 is a schematic flow chart of a font size generation method according to an embodiment of the present invention;

fig. 2 is a diagram of a data flow process between steps of a font size generation method according to an embodiment of the present invention;

fig. 3 is a schematic structural diagram of an automatic font size generating apparatus according to an embodiment of the present invention;

fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

Referring to fig. 1, fig. 1 is a schematic flow chart of a font size generation method according to an embodiment of the present invention; the embodiment of the invention provides a method for automatically generating a font size, which comprises the following steps:

step 11: acquiring a platform name and a target user name corresponding to a target user;

step 12: performing repeated word check on the target user name according to a first repeated word library; a plurality of user names are stored in the first repeated word bank, and each user name corresponds to a first digit sequence for storing a plurality of digit numbers;

step 13: if the target user name is repeated with a first user name in the first repeated word bank, acquiring a maximum number in a first number sequence corresponding to the first user name; carrying out self-increment on the maximum number to obtain a target number and storing the target number into a first number sequence corresponding to the first user name;

step 14: sensitive word verification is carried out on the target user name;

step 15: if the target user name has sensitive words, generating a word size according to the platform name of the user and the corresponding target number; and if the sensitive words do not exist in the target user name, generating a word size according to the platform name of the user, the target user name and the corresponding target number.

In the embodiment of the invention, the platform name and the target user name of the target user are obtained, repeated word check and sensitive word check are respectively carried out on the target user name, the word size is further generated according to the check results of different conditions, the operation cost of the user is reduced, and the success rate and the execution efficiency of automatic generation of the word size are improved.

In some embodiments of the present invention, optionally, after the repeated word check is performed on the target user name according to the first repeated word library, the method further includes:

if the target user name does not have repeated words in the first repeated word bank, performing repeated word check on the target user name according to a second repeated word bank; a plurality of user names are stored in the second repeated word bank, and each user name corresponds to a second digit sequence used for storing a plurality of digit numbers;

if the target user name is the same as a second user name in the second repeated word library, acquiring the maximum number in a second number sequence corresponding to the second user name; and carrying out self-increment on the maximum number to obtain a target number and storing the target number into a second number sequence corresponding to the second user name.

In the embodiment of the invention, if the target user name has no repeated words in the first repeated word bank, repeated word check is carried out on the target user name according to the second repeated word bank; by setting classification standards for the repeated word library, the word size verification and generation requirements under a multi-dimensional repeated word scene can be met, the operation cost of a user is reduced, and the passing rate of the word size verification and the success rate of automatic generation of the word size are improved.

In some embodiments of the present invention, optionally, the repeated word library is classified according to the content of the repeated words or determined according to different time-space distribution states of the repeated words. Specifically, the repeated words are divided into a first repeated word bank before 3 days and a second repeated word bank after 3 days according to the input time of the repeated words.

In some embodiments of the present invention, optionally, after the repeated word check is performed on the target user name according to the second repeated word library, the method further includes:

if the target user name does not have repeated words in the first repeated word bank and the second repeated word bank, allocating an initial number as a target number corresponding to the target user name; storing the target user name into the first repeated word bank, and storing the target number into a first number sequence corresponding to the target user name; the first repeated word bank is a temporary database and is used for caching user names which can be automatically deleted at regular intervals and are used for word size verification; and the second repeated word bank is used for storing the user names in the word sizes qualified by the word size verification.

In the embodiment of the invention, if the target user name does not have repeated words in the first repeated word stock and the second repeated word stock, the initial number is allocated as the target number corresponding to the target user name, and the repeated word check and the sensitive word check are performed in a preposed manner, and then the word number is generated according to the check result, so that the operation cost of the user is reduced, and the execution efficiency of automatic generation of the word number is improved.

In the embodiment of the invention, the first repeated word bank is a temporary database and is used for caching user names which can be periodically and automatically deleted and are used for checking word sizes; the second repeated word bank is used for storing the user names in the word sizes qualified by the word size verification.

In some embodiments of the present invention, optionally, after the generating the font size, the method further includes:

acquiring an administrative division, target industry information and an organization form of the target user;

and splicing the administrative division, the word size, the target industry information and the organization form to generate a business license name, and calling a first interface to check the business license name.

In the embodiment of the invention, the name of the business license is generated according to the word size, the administrative division, the industry information, the organization form and the like of the user, the name of the business license is further generated after the word size is generated, and the name of the business license is verified by calling the interface, so that the name generation method of the business license is simple, convenient and quick and has high verification success rate.

In some embodiments of the present invention, optionally, further comprising:

and if the name of the business license passes the verification, storing the target user name and the corresponding target number to the second repeated word bank, and deleting the target user name and the corresponding target number from the first repeated word bank.

In the embodiment of the invention, the first repeated word bank is a temporary database and is used for caching user names which can be periodically and automatically deleted and are used for checking word sizes; the second repeated word bank is used for storing the user names in the word sizes qualified by the word size verification. The target user name and the target number in the verified license name are stored in the second thesaurus, and the target user name and the target number in the verified license name are deleted from the first thesaurus (temporary database). The method for automatically generating the word size is complete, not only can duplicate words be removed, but also sensitive words can be removed, and the problem that the same number is allocated to a plurality of same user names when the word size is generated at the same time can be solved.

In some embodiments of the present invention, optionally, when users with the same platform name correspond to the same industry information, the acquiring the administrative division, the target industry information, and the organization form of the target user includes:

and acquiring the industry information of a plurality of users with the same platform name as the target user, and taking the industry information as the target industry information of the target user.

In the embodiment of the invention, when users with the same platform name correspond to the same industry information, the industry information of a plurality of users with the same platform name is captured as the target industry information of the target user, so that the steps of manually filling information and selecting the industry information category by the user are reduced, and the automation degree, the usability and the verification passing rate of the word size generation method are improved.

In some embodiments of the present invention, optionally, the acquiring an administrative division, target industry information, and an organization form of the target user includes:

and screening to obtain a plurality of categories of industry information corresponding to users in the same operation range as the target user, arranging the industry information in a descending order according to the number of the users corresponding to the industry information of each category, and selecting the industry information with the largest number of users as the target industry information of the target user.

In the embodiment of the invention, the industry information of the user is indirectly determined according to the operation range of the user, the users in the same operation range correspond to a plurality of categories of industry information, the industry information in the category with the largest number of the users is used as the target industry information of the target user according to the user number sequence corresponding to the industry information in each category, and the word size automatic generation method for simply, conveniently and quickly deducing the industry information of the target user when the operation ranges and the industry information of the plurality of users are preset is provided, so that the degree of automation is high, and the matching accuracy of the industry information is high.

In some embodiments of the present invention, optionally, when the font size is checked, the sensitive word is stored in the sensitive word bank in a prefix tree manner.

In the embodiment of the invention, the sensitive words are pre-stored in the sensitive word library in an prefix tree mode, the sensitive words in the database are written into the memory when a program is started and/or at regular time, the storage structure of the memory is stored in a prefix tree mode, the prefix tree is a special form of an N-branch tree, and generally speaking, one prefix tree is used for storing character strings. Each node of the prefix tree represents a string (prefix). Each node has a plurality of child nodes, and paths to different child nodes have different characters. The string represented by a child node is composed of the original string of the node itself, as well as all the characters on the path to the child node. An important feature of prefix trees is that all descendants of a node have a common prefix with the string to which the node is associated. Sensitive word verification is performed on the word number by using a sensitive word bank in a prefix tree form before the word number is generated, the storage amount is saved, the verification is rapid and accurate, the scene requirements of automatic completion, spelling check and the like can be met, the number of requests for a business bureau interface can be effectively reduced by submitting the name of a business license after the sensitive word verification, and the word number generation efficiency is improved.

Referring to fig. 2, fig. 2 is a diagram of a data flow process among the steps of the word size generation method according to the embodiment of the present invention; the arrow points to indicate the flow of data between the steps. Specifically, the word size generation method is realized by using a mysql database, a linux system, a golang language and redis, and specifically comprises the following steps:

step 21: and (4) building a user configuration background and screening industry information.

In some embodiments of the present invention, optionally, by building a user configuration background, the content that the user can autonomously configure in the background includes, but is not limited to, own industry information, business scope, registration mode, administrative division, and the like. The content is input into a mysql database, then matching is carried out according to industry information selected by commercial tenants in the same historical operating range, the industry information with the highest matching degree is automatically selected or target industry information is automatically selected by users according to descending sorting of the matching degree in an industry information list, and pre-screening of the user industry information during word size generation is achieved.

And step 22, building an information configuration platform and generating a user configuration file.

In some embodiments of the present invention, optionally, when the registration mode of the multiple users is cluster registration, the administrative divisions are all unified registration divisions, and because all the users use labor hours in flexible employment forms, the organization forms are all studios by default, and at this time, the administrative divisions and the organization forms are both configured in the configuration file in a file configuration manner.

And step 23, building a word size generation service.

In some embodiments of the present invention, optionally, after acquiring the industry information of the user and the configuration file containing the platform name and the user name, the system may automatically generate the word size by using the platform name and the user name, and if the user name has a sensitive word, the word size may be generated by using the platform name and the chinese number; if the user name repeats, the name is generated by using the platform name + user name + Chinese number.

In some embodiments of the present invention, optionally, the sensitive thesaurus is a database that is continuously maintained. Specifically, a business license name is further generated according to the word number generated before, a verification result when a business license name verification interface is called for verification is obtained, part of verification results which do not pass verification are set as sensitive words to be stored in a database, the sensitive words in the database are written into a memory at program starting and/or timing, the storage structure of the memory is stored in a prefix tree mode, the sensitive words are verified by using the prefix tree sensitive word library before application, and the number of requests for the business office interface is reduced by submitting the verification after the verification.

In some embodiments of the present invention, optionally, if the sensitive word passes the verification, the user name and the number are stored as two columns in the database, and the number is stored using an arabic number (the arabic number facilitates an adding operation later, and is converted into a chinese number when finally applied), so that it is only necessary to check whether the name already exists when judging whether the user name is stored, if so, the name is generated by using a platform name + the user name + the chinese number in a manner of repeating the application, and the chinese number is automatically added by one, and the chinese number is sorted in a descending order according to the user name + the number. Specifically, when the repeated words are stored in the redis, whether the redis cache exists or not is judged firstly, if the current maximum serial number exists, the maximum serial number of the redis is increased by one, if the maximum number in the database is not increased by one by default and is stored in the redis cache, the valid period is 7 days, the redis mainly plays a role in locking, and in order to prevent the name from being repeated when the name is applied because a user is occupied by other users with the same name before submitting the name, the serial number of the name can be locked for a period of time.

Step 24: and building a business license name generating service.

In some embodiments of the present invention, optionally, after acquiring the industry information of the user, the configuration file including the platform name and the user name, and the checked font size, the administrative division, the font size, the target industry information, and the organization form of the user are spliced to generate a license name, and a first interface (license name checking interface) is invoked to check the license name.

Step 25: and establishing a business license name application service.

In some embodiments of the present invention, optionally, after the license name is verified, the second interface (license name application interface) is called to apply for the license name, if the application is successful, the license name of the user is stored, and the number corresponding to the user name in the mysql database table is updated and the number stored in the corresponding redis is deleted. In the embodiment of the invention, the platform name and the target user name of the target user are obtained, the first repeated word containing the temporary user name, the second repeated word containing the user name in the character number qualified in the verification and the sensitive word verification are respectively carried out on the target user name, the character number is further generated according to the verification result of different conditions, the operation cost of the user is reduced, and the success rate and the execution efficiency of automatic generation of the character number are improved. When the user applies for generating the name of the business license, information such as administrative divisions, organization forms and the like does not need to be filled, the user operation is further simplified while the qualification is ensured, and the automation degree and the usability of the generation of the name of the business license are improved. In addition, when the user applies for generating the name of the business license, the industry information can be comprehensively calculated and output by the user for finally selecting the industry information in the same operation range according to the background configuration of the merchant, the matching of the user operation range and the data analysis, so that the selection cost of the user is greatly reduced. When the user applies for generating the name of the business license, the user can be automatically helped to generate the word size according to the rule without filling any content, and the user only needs to confirm, so that the operation cost of the user is greatly reduced.

In the embodiment of the invention, the mode of generating the business license name by registering the individual industrial and commercial businesses in an online cluster mainly comprises the following steps: the method comprises the steps of pre-manual screening and inputting industry information conforming to the property of a flexible employment platform, automatic matching and recommending of selectable industry information according to an algorithm, fixed filling of administrative division and organization forms, automatic, efficient and high-performance generation of word sizes and reduction of interface burden of a business office through pre-inspection, but is not limited to development languages, so that any modification, equivalent replacement, improvement and the like which are made within the spirit and principle of the invention are all included in the protection scope of the invention.

Referring to fig. 3, fig. 3 is a schematic structural diagram of an automatic font size generation apparatus according to an embodiment of the present invention;

the embodiment of the present invention further provides an automatic font size generating device 30, which includes:

the obtaining module 31 is configured to obtain a platform name and a target user name corresponding to a target user;

a repeated word checking module 32, configured to perform repeated word checking on the target user name according to a first repeated word bank; a plurality of user names are stored in the first repeated word bank, and each user name corresponds to a first digit sequence for storing a plurality of digit numbers;

if the target user name is repeated with a first user name in the first repeated word bank, the repeated word checking module is further used for acquiring the maximum number in a first number sequence corresponding to the first user name; carrying out self-increment on the maximum number to obtain a target number and storing the target number into a first number sequence corresponding to the first user name;

the sensitive word checking module 33 is configured to perform sensitive word checking on the target user name;

a word size generating module 34, configured to generate a word size according to the platform name of the user and a corresponding target number if the target user name has a sensitive word; and if the sensitive words do not exist in the target user name, generating a word size according to the platform name of the user, the target user name and the corresponding target number.

In the embodiment of the invention, the automatic character size generating device respectively performs repeated word check and sensitive word check on the target user name by acquiring the platform name and the target user name of the target user, and further generates the character size according to the check results of different conditions, thereby reducing the operation cost of the user and improving the success rate and the execution efficiency of automatic character size generation.

In addition, it should be noted that all relevant contents of each step related to the above automatic font size generation method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.

Fig. 4 shows an electronic device, where fig. 4 is a schematic structural diagram of the electronic device according to an embodiment of the invention;

the electronic device 40 includes: the processor 41, the memory 42, and the program stored in the memory 42 and capable of running on the processor 41, when executed by the processor 41, implement each process of the embodiment of the word size automatic generation method as described above, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

The embodiment of the present invention further provides a readable storage medium, where a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of any one of the embodiments of the automatic character size generation method described above, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.

The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.

While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:新词发现方法及装置、电子设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!