CN113705211A - Automatic character size generation method and device, electronic equipment and readable storage medium - Google Patents

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

Info

Publication number
CN113705211A
CN113705211A CN202111267312.5A CN202111267312A CN113705211A CN 113705211 A CN113705211 A CN 113705211A CN 202111267312 A CN202111267312 A CN 202111267312A CN 113705211 A CN113705211 A CN 113705211A
Authority
CN
China
Prior art keywords
target
user name
name
word
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111267312.5A
Other languages
Chinese (zh)
Other versions
CN113705211B (en
Inventor
李海楠
杨宜
邹永强
杨晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Accumulus Technologies Tianjin Co Ltd
Original Assignee
Accumulus Technologies Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Accumulus Technologies Tianjin Co Ltd filed Critical Accumulus Technologies Tianjin Co Ltd
Priority to CN202111267312.5A priority Critical patent/CN113705211B/en
Publication of CN113705211A publication Critical patent/CN113705211A/en
Application granted granted Critical
Publication of CN113705211B publication Critical patent/CN113705211B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/258Heading extraction; Automatic titling; Numbering

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

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.

Description

Automatic character size generation method and device, electronic equipment and readable storage medium
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.

Claims (11)

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.
CN202111267312.5A 2021-10-29 2021-10-29 Method and device for automatically generating license character number and readable storage medium Active CN113705211B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111267312.5A CN113705211B (en) 2021-10-29 2021-10-29 Method and device for automatically generating license character number and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111267312.5A CN113705211B (en) 2021-10-29 2021-10-29 Method and device for automatically generating license character number and readable storage medium

Publications (2)

Publication Number Publication Date
CN113705211A true CN113705211A (en) 2021-11-26
CN113705211B CN113705211B (en) 2022-01-18

Family

ID=78647500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111267312.5A Active CN113705211B (en) 2021-10-29 2021-10-29 Method and device for automatically generating license character number and readable storage medium

Country Status (1)

Country Link
CN (1) CN113705211B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496933B1 (en) * 1998-10-14 2002-12-17 Canon Sales, Inc. Document authentication using a mark that is separate from document information
TW200928742A (en) * 2007-12-31 2009-07-01 Qware System & Services Corp Image scanning and returning system capable of automatically correlating application documents and method for same
CN102592500A (en) * 2012-03-05 2012-07-18 胡大江 Code, graph, color, mark and network anti-counterfeiting method
CN107766741A (en) * 2017-10-23 2018-03-06 中恒华瑞(北京)信息技术有限公司 Data desensitization system and method
CN109978559A (en) * 2017-12-28 2019-07-05 宿迁益世商务秘书有限公司 The intelligence system and method for one-stop electronicization industrial and commercial registration
CN111241389A (en) * 2019-12-30 2020-06-05 陕西数字基地出版传媒集团有限公司 Sensitive word filtering method and device based on matrix, electronic equipment and storage medium
CN112016317A (en) * 2020-09-07 2020-12-01 平安科技(深圳)有限公司 Sensitive word recognition method and device based on artificial intelligence and computer equipment
CN112035726A (en) * 2020-11-02 2020-12-04 北京梦知网科技有限公司 Trademark registration method and device
CN112035355A (en) * 2020-08-28 2020-12-04 中国平安财产保险股份有限公司 Data processing method, data processing device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496933B1 (en) * 1998-10-14 2002-12-17 Canon Sales, Inc. Document authentication using a mark that is separate from document information
TW200928742A (en) * 2007-12-31 2009-07-01 Qware System & Services Corp Image scanning and returning system capable of automatically correlating application documents and method for same
CN102592500A (en) * 2012-03-05 2012-07-18 胡大江 Code, graph, color, mark and network anti-counterfeiting method
CN107766741A (en) * 2017-10-23 2018-03-06 中恒华瑞(北京)信息技术有限公司 Data desensitization system and method
CN109978559A (en) * 2017-12-28 2019-07-05 宿迁益世商务秘书有限公司 The intelligence system and method for one-stop electronicization industrial and commercial registration
CN111241389A (en) * 2019-12-30 2020-06-05 陕西数字基地出版传媒集团有限公司 Sensitive word filtering method and device based on matrix, electronic equipment and storage medium
CN112035355A (en) * 2020-08-28 2020-12-04 中国平安财产保险股份有限公司 Data processing method, data processing device, computer equipment and storage medium
CN112016317A (en) * 2020-09-07 2020-12-01 平安科技(深圳)有限公司 Sensitive word recognition method and device based on artificial intelligence and computer equipment
CN112035726A (en) * 2020-11-02 2020-12-04 北京梦知网科技有限公司 Trademark registration method and device

Also Published As

Publication number Publication date
CN113705211B (en) 2022-01-18

Similar Documents

Publication Publication Date Title
US9703808B2 (en) Data masking setup
CN110147364B (en) Data cleaning method, device, equipment and storage medium
US10832010B2 (en) Training of conversational agent using natural language
CN114035827A (en) Application program updating method, device, equipment and storage medium
CN115237805A (en) Test case data preparation method and device
US7885985B2 (en) System and method for building a datastore for storing and retrieving regression testing data for a complex application
CN113448869A (en) Method and device for generating test case, electronic equipment and computer readable medium
CN113934834A (en) Question matching method, device, equipment and storage medium
CN113705211B (en) Method and device for automatically generating license character number and readable storage medium
CN111078564B (en) UI test case management method, device, computer equipment and computer readable storage medium
US8037109B2 (en) Generation of repeatable synthetic data
CN109508185B (en) Code review method and device
JPH10275159A (en) Information retrieval method and device therefor
CN113312549B (en) Domain name processing method and device
CN111340580A (en) Method and device for determining house type, computer equipment and storage medium
CN112148710B (en) Micro-service library separation method, system and medium
CN114090721B (en) Method and device for querying and updating data based on natural language data
US11831490B1 (en) Systems, methods, and media for performing information technology service management correlation for infrastructure environment functions
CN114492413B (en) Text proofreading method and device and electronic equipment
US20230266940A1 (en) Semantic based ordinal sorting
US20230053344A1 (en) Scenario generation apparatus, scenario generation method, and computer-readablerecording medium
CN114676163A (en) Data query method, device, equipment, system and storage medium
CN114461300A (en) Container application deployment configuration method, device, equipment and storage medium
CN117271489A (en) Method, device, equipment and medium for verifying data
CN116126721A (en) Method and device for converting format of test case document, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant