CN116931743A - License plate number input method, device, equipment and storage medium - Google Patents

License plate number input method, device, equipment and storage medium Download PDF

Info

Publication number
CN116931743A
CN116931743A CN202311002029.9A CN202311002029A CN116931743A CN 116931743 A CN116931743 A CN 116931743A CN 202311002029 A CN202311002029 A CN 202311002029A CN 116931743 A CN116931743 A CN 116931743A
Authority
CN
China
Prior art keywords
keyboard
abbreviation
alphanumeric
license plate
plate number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311002029.9A
Other languages
Chinese (zh)
Inventor
韦金记
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202311002029.9A priority Critical patent/CN116931743A/en
Publication of CN116931743A publication Critical patent/CN116931743A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The application relates to operation and maintenance technology, and discloses a license plate number input method applicable to the field of financial insurance, which comprises the following steps: responding to license plate number input operation acted on a license plate number input box in a target page, and rendering and displaying a region abbreviated keyboard in the target page; responding to the area abbreviation key selection operation acted on the area abbreviation keyboard, and displaying the area abbreviation corresponding to the selected area abbreviation key in the license plate number input frame; responding to the keyboard switching operation of the area abbreviated keyboard, and switching the area abbreviated keyboard rendering into an alphanumeric keyboard; and responding to the selection operation of the alphanumeric keys acting on the alphanumeric keyboard, and displaying English letters or numbers corresponding to the selected alphanumeric keys in the license plate number input box so as to realize the input of the license plate number. The application also provides a license plate number input device, equipment and medium, which improve the license plate number input efficiency of vehicles such as vehicles for carrying out the danger.

Description

License plate number input method, device, equipment and storage medium
Technical Field
The application relates to an operation and maintenance technology, which can be used in the field of financial insurance, in particular to a license plate number input method, a device, electronic equipment and a storage medium.
Background
In the field of financial insurance, in order to facilitate the checking of information of a vehicle for which a vehicle is required to run out of danger, it is necessary to input a license plate number of the vehicle for which a vehicle is required to run out of danger to check information.
However, in the existing license plate number input method, the area short in the license plate number can be correctly input only by using a keyboard to select a plurality of keys, so that the license plate number input efficiency of vehicles such as vehicles for danger and danger is lower.
Disclosure of Invention
The application provides a license plate number input method, a device, electronic equipment and a storage medium, and mainly aims to improve the license plate number input efficiency of vehicles such as vehicles for danger and danger.
Responding to license plate number input operation acted on a license plate number input box in a target page, and rendering and displaying a region abbreviation keyboard in the target page, wherein the region abbreviation keyboard comprises region abbreviation keys corresponding to region abbreviations of provinces, direct administration cities and special administrative areas;
responding to the area abbreviation key selection operation acted on the area abbreviation keyboard, and displaying the area abbreviation corresponding to the selected area abbreviation key in the license plate number input frame;
in response to a keyboard switch operation of the regional abbreviation keyboard, switching the regional abbreviation keyboard rendering to an alphanumeric keyboard, the alphanumeric keyboard comprising: alphanumeric keys corresponding to English letters or numbers;
and responding to the selection operation of the alphanumeric keys acting on the alphanumeric keyboard, and displaying English letters or numbers corresponding to the selected alphanumeric keys in the license plate number input box so as to realize the input of the license plate number.
Optionally, the rendering and displaying the area abbreviated as keyboard in the target page includes:
obtaining regional abbreviations of provinces, direct administration cities and special administrative areas;
constructing all the regional abbreviations, preset first keyboard switching labels and preset deletion labels as elements into an array form to obtain regional abbreviation arrays;
assigning the locale abbreviation array to an renderkmask variable, and circularly rendering the assigned renderkmask variable to generate an HTML structure of a keyboard on the target page And obtaining the area abbreviated as keyboard.
Optionally, the rendering and displaying the area abbreviated as keyboard in the target page includes:
acquiring equipment position information of equipment where the target page is located, and obtaining position coordinates;
obtaining regional abbreviations of provinces, direct administration cities and special administrative areas;
determining the region of the region where the position coordinates are located as a target region;
constructing all the regional abbreviations, preset first keyboard switching labels and preset deletion labels as elements into an array form to obtain regional abbreviation arrays;
assigning the locale abbreviation array to an renderkmask variable, and circularly rendering the assigned renderkmask variable to generate an HTML structure of a keyboard on the target page Obtaining an initial area abbreviated keyboard;
and highlighting the region abbreviation keys corresponding to all the target region abbreviations in the initial region abbreviation keyboard to obtain the region abbreviation keyboard.
Optionally, the switching the rendering of the area abbreviated keyboard to an alphanumeric keyboard includes:
constructing all English letters and all numbers from 0 to 9, a preset second keyboard switching label and a preset deleting label as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page And obtaining the alphanumeric keyboard.
Optionally, the switching the rendering of the area abbreviated keyboard to an alphanumeric keyboard includes:
constructing all English letters and all numbers from 0 to 9, a preset second keyboard switching label and a preset deleting label as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page Obtaining an initial alphanumeric keyboard;
And displaying the key gray scale of the English letters I and the English letters O displayed in the initial alphanumeric keyboard to obtain the alphanumeric keyboard.
Optionally, the area abbreviated keyboard rendering is switched to an alphanumeric keyboard, including:
constructing all English letters except English letter I and English letter O, all numbers from 0 to 9, preset second keyboard switch labels and preset deletion labels as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page And obtaining the alphanumeric keyboard.
In order to solve the above-mentioned problems, the present application also provides a license plate number input device comprising:
the regional abbreviation input module is used for responding to the license plate number input operation acted on a license plate number input frame in a target page, and rendering and displaying a regional abbreviation keyboard in the target page, wherein the regional abbreviation keyboard comprises regional abbreviation keys corresponding to regional abbreviations of provinces, direct jurisdictions and special administrative regions; responding to the area abbreviation key selection operation acted on the area abbreviation keyboard, and displaying the area abbreviation corresponding to the selected area abbreviation key in the license plate number input frame;
the keyboard switching module is used for responding to the keyboard switching operation of the area abbreviated keyboard and switching the area abbreviated keyboard rendering into an alphanumeric keyboard, and the alphanumeric keyboard comprises: alphanumeric keys corresponding to English letters or numbers;
and the alphanumeric input module is used for responding to the alphanumeric key selection operation acted on the alphanumeric keyboard and displaying English letters or numbers corresponding to the selected alphanumeric keys in the license plate number input frame so as to realize the license plate number input.
Optionally, the area abbreviated keyboard rendering is switched to an alphanumeric keyboard, including:
constructing all English letters except English letter I and English letter O, all numbers from 0 to 9, preset second keyboard switch labels and preset deletion labels as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page And obtaining the alphanumeric keyboard.
In order to solve the above-mentioned problems, the present application also provides an electronic apparatus including:
a memory storing at least one computer program; a kind of electronic device with high-pressure air-conditioning system
And the processor executes the computer program stored in the memory to realize the license plate number input method.
In order to solve the above-described problems, the present application also provides a computer-readable storage medium having stored therein at least one computer program that is executed by a processor in an electronic device to implement the above-described license plate number input method.
The embodiment of the application responds to the region abbreviation key selection operation acted on the region abbreviation keyboard, and the region abbreviation corresponding to the selected region abbreviation key is displayed in the license plate number input frame; the method can directly select a certain area abbreviation key in the area abbreviation keyboard so as to realize the input of the corresponding area abbreviation, and correct area abbreviation can be input without repeated key selection. Therefore, the license plate number input method, the device, the electronic equipment and the readable storage medium provided by the embodiment of the application improve the license plate number input efficiency of vehicles such as vehicles for danger and danger.
Drawings
FIG. 1 is a flowchart of a license plate number input method according to an embodiment of the present application;
FIG. 2 is a schematic block diagram of a license plate number input device according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an internal structure of an electronic device for implementing a license plate number input method according to an embodiment of the present application;
the achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The embodiment of the application provides a license plate number input method. The execution subject of the license plate number input method includes, but is not limited to, at least one of a server, a terminal, and the like, which can be configured to execute the method provided by the embodiment of the application. In other words, the license plate number input method may be performed by software or hardware installed in a terminal device or a server device, and the software may be a blockchain platform. The service end includes but is not limited to: the server can be an independent server, or can be a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDNs), basic cloud computing services such as big data and artificial intelligent platforms, and the like.
Referring to a flow chart of a license plate number input method according to an embodiment of the present application shown in fig. 1, in an embodiment of the present application, the license plate number input method includes the following steps:
s1, responding to license plate number input operation acted on a license plate number input box in a target page, and rendering and displaying a region abbreviation keyboard in the target page, wherein the region abbreviation keyboard comprises region abbreviation keys corresponding to region abbreviations of provinces, direct administration cities and special administrative areas;
in the embodiment of the application, the target page is a front end H5 page with a license plate number input box, and the target page can be a page which needs to input the license plate number of the vehicle for carrying out the danger for a user to verify the vehicle information when the user carries out the danger.
It should be explained that, in the embodiment of the application, in order to input the license plate number more conveniently, according to the composition structure (region abbreviation and letters and numbers) of the license plate number, the region abbreviation needs to be input first, so that a region abbreviation keyboard is constructed, and a user can conveniently and directly act on a region abbreviation key to directly output the region abbreviation corresponding to the key, thereby improving the efficiency of inputting the license plate number.
In detail, in the embodiment of the present application, the rendering and displaying a region abbreviated as a keyboard in the target page includes:
obtaining regional abbreviations of provinces, direct administration cities and special administrative areas;
constructing all the regional abbreviations, preset first keyboard switching labels and preset deletion labels as elements into an array form to obtain regional abbreviation arrays;
assigning the locale abbreviation array to an renderkmask variable, and circularly rendering the assigned renderkmask variable to generate an HTML structure of a keyboard on the target page And obtaining the area abbreviated as keyboard.
Further, in order to quickly find a region abbreviation key to be input in the embodiment of the present application, the rendering and displaying a region abbreviation keyboard in the target page includes:
acquiring equipment position information of equipment where the target page is located, and obtaining position coordinates;
obtaining regional abbreviations of provinces, direct administration cities and special administrative areas;
determining the region of the region where the position coordinates are located as a target region;
constructing all the regional abbreviations, preset first keyboard switching labels and preset deletion labels as elements into an array form to obtain regional abbreviation arrays;
assigning the locale abbreviation array to an renderkmask variable, and circularly rendering the assigned renderkmask variable to obtain the targetHTML structure of page generation keyboard Obtaining an initial area abbreviated keyboard;
and highlighting the region abbreviation keys corresponding to all the target region abbreviations in the initial region abbreviation keyboard to obtain the region abbreviation keyboard.
In the embodiment of the application, the region abbreviation keys corresponding to all the target region abbreviations in the initial region abbreviation keyboard are highlighted, so that the region abbreviation keys required by quick positioning are conveniently and quickly selected, and the input speed of the region abbreviation is improved.
In an embodiment of the present application, besides the normal area is called a license plate number start symbol, there are some license plates with special license plate numbers, such as: causing, capturing, police, learning, etc., therefore, rendering a display area abbreviated keyboard in the target page comprises:
obtaining regional abbreviations of provinces, direct administration cities and special administrative areas;
determining a preset license plate abbreviation as a regional abbreviation;
all the regional abbreviations, preset first keyboard switching labels, preset deleting labels and elements are constructed into an array form, so that regional abbreviation arrays are obtained;
assigning the locale abbreviation array to an renderkmask variable, and circularly rendering the assigned renderkmask variable to generate an HTML structure of a keyboard on the target page And obtaining the area abbreviated as keyboard.
The preset license plate in the embodiment of the application includes but is not limited to: make, get the police, learn.
For example: the first keyboard switch label is an alphanumeric, the preset delete label is a Backspace, the preset license plate is simply called ' enable ', ' collar ', ' police ', ' school ', each province, straight city, and the area of the special administrative district is simply called ' Beijing ', ' jin ', ' Yu ', ' Shanghai ', ' Ji ', ' jin ', ' Liao ', ' Jiu ', ' Black ', ' Su ', ' Zhejian ', ' Anhui ', ' Min ' gan ', ' Jiang ' gan ', ' Liu ', ' Hud ' and ' Chuan ' with respect to the license plate, the ' police ', ' Chuan ', ' cloud ', ' Shaan ', ' sweet ' with respect to the license plate, the ' Qing ' with respect to the license plate, the ' Jingui ' with respect to the license plate, the ' Jing ' with respect to the license plate, the ' cloud ' Shaun ' with respect to the license plate, the ' Qing ' and ' Qing ' with respect to the license plate. That is, all regions are abbreviated as 'Beijing', 'Jing', 'Yu', 'Hu', 'Ji', 'jin', 'Liao', 'Ji', 'Black', 'Su', 'Zhejian', 'Anhui', 'Fumin', 'Jiang', 'Lu', 'Yu', 'Hui', 'Hunan', 'Yu' Guangdong ',' Qong ',' Chuan ',' Gui ',' cloud ',' Shaanxi ',' Gain ',' Qing ',' Mongolian ',' Gui ',' Ning ',' New ',' Tibet ',' Liu ',' Leu ',' Lei; the regional abbreviation array may be [ 'Beijing', 'Jind', 'Yu', 'Hu', 'Ji', 'jin', 'Liao', 'Ji', 'Black', 'Su', 'Zhejiang', 'Anhui', 'Fu', 'Gangxi', 'Lu', 'Yu' Hu ',' Hunan ',' Yu 'Cantonese', 'Canon', 'Chuan', 'Gui' cloud ',' Shaanxia ',' Ganggan ',' Qing ',' Mongolian ',' Gui ',' Ning ',' New ',' alpha-numerical ',' Tibetan ',' Canon ',' Learn ',' Australian 'Backface', 'Backface'.
Specifically, in the embodiment of the application, the key displaying the area abbreviation in the area abbreviation keyboard is an area abbreviation key, and after the area abbreviation key is acted, the area abbreviation corresponding to the area abbreviation key is displayed in the license plate number input box; the key displaying the preset first keyboard switching label in the area abbreviated keyboard is a keyboard mode switching key, the key displaying the preset deleting label in the area abbreviated keyboard is a deleting key, and the last character in all characters displayed in the license plate number input frame or one character in front of a selection cursor is deleted after the deleting key acts.
In the embodiment of the present application, the preset first keyboard switch label and the preset delete label are text, symbols or a combination of text and symbols, which is not limited in the embodiment of the present application.
S2, responding to the region abbreviation key selection operation acted on the region abbreviation keyboard, and displaying the region abbreviation corresponding to the selected region abbreviation key in the license plate number input frame;
in the embodiment of the application, the region abbreviation in the license plate number can be input only by one key through responding to the region abbreviation key selection operation acted on the region abbreviation keyboard, for example: the area of the license plate number to be input is simply called as "Beijing", and then the area in the keyboard for short is selected for short, namely the Beijing is displayed in the license plate number input frame, so that the area in the license plate number is rapidly output.
S3, responding to the keyboard switching operation of the area abbreviated keyboard, and switching the area abbreviated keyboard rendering into an alphanumeric keyboard, wherein the alphanumeric keyboard comprises: alphanumeric keys corresponding to English letters or numbers;
in the embodiment of the application, after a regional abbreviation of a license plate number is input by using a regional abbreviation keyboard, in order to further input subsequent letters and/or numbers of the license plate number, in response to a keyboard switching operation of the regional abbreviation keyboard, rendering of the regional abbreviation keyboard is switched to an alphanumeric keyboard, and the alphanumeric keyboard comprises: the key selection in the embodiment of the present application may be implemented by clicking or touching the key to implement the key selection, which is not described in detail in the embodiment of the present application.
In detail, in the embodiment of the present application, the switching the rendering of the area abbreviated as keyboard to the alphanumeric keyboard includes:
constructing all English letters and all numbers from 0 to 9, a preset second keyboard switching label and a preset deleting label as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page And obtaining the alphanumeric keyboard.
In an embodiment of the present application, since letters I and O are not generally used in license plate numbers, in order to improve the input efficiency of license plate numbers, the area abbreviated keyboard rendering is switched to an alphanumeric keyboard, which includes:
constructing all English letters and all numbers from 0 to 9, a preset second keyboard switching label and a preset deleting label as elements into an array form to obtain an alphanumeric array;
with the alphanumeric array, the following will beRendering to obtain a rendeerKeybord variable of the regional simply-called keyboard, and performing reassignment rendering to generate an HTML structure of the keyboard on the target page Obtaining an initial alphanumeric keyboard;
and displaying the key gray scale of the English letters I and the English letters O displayed in the initial alphanumeric keyboard to obtain the alphanumeric keyboard.
In an embodiment of the present application, since letters I and O are not generally used in license plate numbers, in order to improve the input efficiency of license plate numbers, the area abbreviated keyboard rendering is switched to an alphanumeric keyboard, which includes:
constructing all English letters except English letter I and English letter O, all numbers from 0 to 9, preset second keyboard switch labels and preset deletion labels as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page And obtaining the alphanumeric keyboard.
Specifically, in the embodiment of the present application, the key displaying the alphanumeric in the alphanumeric keyboard is an alphanumeric key, and after the alphanumeric key acts, the alphanumeric corresponding to the alphanumeric key is displayed in the license plate number input box; the key displaying the preset second keyboard switching label in the alphanumeric keyboard is a keyboard mode switching key, the key displaying the preset deleting label in the alphanumeric keyboard is a deleting key, and the last character in all characters displayed in the license plate number input frame or one character in front of a selection cursor is deleted after the deleting key acts.
In the embodiment of the application, the selection operation of the keyboard mode switching keys in the alphanumeric keyboard can be responded according to the requirement, the alphanumeric keyboard is switched to the area abbreviated keyboard (namely, the area abbreviated keyboard is re-rendered), and the specific rendering mode is similar to that of switching the area abbreviated keyboard to the alphanumeric keyboard, and is not repeated again.
In the embodiment of the present application, the preset second keyboard switch label and the preset delete label are text, symbols or a combination of text and symbols, which is not limited in the embodiment of the present application.
The embodiment of the application can realize the input of letters or numbers in one keyboard through the alphanumeric keyboard, and has higher input efficiency and improves the input efficiency of license plate numbers compared with the keyboard capable of inputting letters or numbers only.
And S4, responding to the selection operation of the alphanumeric keys acting on the alphanumeric keyboard, and displaying English letters or numbers corresponding to the selected alphanumeric keys in the license plate number input box so as to realize the input of the license plate numbers.
In the embodiment of the application, the English letters or numbers corresponding to the selected alphanumeric keys are displayed in the license plate number input frame in response to the alphanumeric key selection operation acted on the alphanumeric keyboard, so that the English letters and/or numbers after the values of the regional abbreviations are further input on the basis of inputting the regional abbreviations of the license plate numbers in the step S2, and the input of the license plate numbers is realized.
For example: when the license plate number to be input is the license plate number of the vehicle for the danger and the danger, the regional abbreviation of the license plate number is input in one step through the direct selection of the regional abbreviation key in the step S2, and English letters and/or numbers after the regional abbreviation value are further input, so that the input efficiency of the license plate number is improved.
As shown in FIG. 2, a functional block diagram of the license plate number input device of the present application is shown.
The license plate number input device 100 of the present application may be mounted in an electronic apparatus. Depending on the functions implemented, the license plate number input device may include a regional abbreviation input module 101, a keypad switching module 102, an alphanumeric input module 103, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by the processor of the electronic device and that can perform fixed functions, which are stored in the memory of the electronic device.
In the present embodiment, the functions concerning the respective modules/units are as follows:
the area abbreviation input module 101 is configured to respond to a license plate number input operation that acts on a license plate number input box in a target page, and render and display an area abbreviation keyboard in the target page, where the area abbreviation keyboard includes area abbreviation keys corresponding to area abbreviations of provinces, direct jurisdictions and special administrative areas; responding to the area abbreviation key selection operation acted on the area abbreviation keyboard, and displaying the area abbreviation corresponding to the selected area abbreviation key in the license plate number input frame;
the keyboard switching module 102 is configured to switch the regional abbreviation keyboard rendering to an alphanumeric keyboard in response to a keyboard switching operation of the regional abbreviation keyboard, where the alphanumeric keyboard includes: alphanumeric keys corresponding to English letters or numbers;
the alphanumeric input module 103 is configured to display english letters or numbers corresponding to the selected alphanumeric keys in the license plate number input box in response to an alphanumeric key selection operation applied to the alphanumeric keyboard, so as to implement license plate number input.
In detail, each module of the license plate number input device 100 in the embodiment of the present application adopts the same technical means as the license plate number input method described in fig. 1 and can produce the same technical effects when in use, and will not be described again here.
Fig. 3 is a schematic structural diagram of an electronic device for implementing the license plate number input method according to the present application.
The electronic device may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program, such as a license plate number input program, stored in the memory 11 and executable on the processor 10.
The memory 11 includes at least one type of readable storage medium, including flash memory, a mobile hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, such as a mobile hard disk of the electronic device. The memory 11 may in other embodiments also be an external storage device of the electronic device, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only for storing application software installed in an electronic device and various types of data, such as codes of license plate number input programs, etc., but also for temporarily storing data that has been output or is to be output.
The processor 10 may be comprised of integrated circuits in some embodiments, for example, a single packaged integrated circuit, or may be comprised of multiple integrated circuits packaged with the same or different functions, including one or more central processing units (Central Processing Unit, CPU), microprocessors, digital processing chips, graphics processors, combinations of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and executes various functions of the electronic device and processes data by running or executing programs or modules (e.g., license plate number input programs, etc.) stored in the memory 11, and calling data stored in the memory 11.
The communication bus 12 may be a peripheral component interconnect standard (PerIPheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. The communication bus 12 is arranged to enable a connection communication between the memory 11 and at least one processor 10 etc. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 is not limiting of the electronic device and may include fewer or more components than shown, or may combine certain components, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power source (such as a battery) for supplying power to the respective components, and preferably, the power source may be logically connected to the at least one processor 10 through a power management device, so that functions of charge management, discharge management, power consumption management, and the like are implemented through the power management device. The power supply may also include one or more of any of a direct current or alternating current power supply, recharging device, power failure classification circuit, power converter or inverter, power status indicator, etc. The electronic device may further include various sensors, bluetooth modules, wi-Fi modules, etc., which are not described herein.
Optionally, the communication interface 13 may comprise a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), typically used to establish a communication connection between the electronic device and other electronic devices.
Optionally, the communication interface 13 may further comprise a user interface, which may be a Display, an input unit, such as a Keyboard (Keyboard), or a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface.
It should be understood that the embodiments described are for illustrative purposes only and are not limited to this configuration in the scope of the patent application.
The license plate number input program stored in the memory 11 in the electronic device is a combination of a plurality of computer programs, which when executed in the processor 10, can realize:
responding to license plate number input operation acted on a license plate number input box in a target page, and rendering and displaying a region abbreviation keyboard in the target page, wherein the region abbreviation keyboard comprises region abbreviation keys corresponding to region abbreviations of provinces, direct administration cities and special administrative areas;
responding to the area abbreviation key selection operation acted on the area abbreviation keyboard, and displaying the area abbreviation corresponding to the selected area abbreviation key in the license plate number input frame;
in response to a keyboard switch operation of the regional abbreviation keyboard, switching the regional abbreviation keyboard rendering to an alphanumeric keyboard, the alphanumeric keyboard comprising: alphanumeric keys corresponding to English letters or numbers;
and responding to the selection operation of the alphanumeric keys acting on the alphanumeric keyboard, and displaying English letters or numbers corresponding to the selected alphanumeric keys in the license plate number input box so as to realize the input of the license plate number.
In particular, the specific implementation method of the processor 10 on the computer program may refer to the description of the relevant steps in the corresponding embodiment of fig. 1, which is not repeated herein.
Further, the electronic device integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. The computer readable medium may be non-volatile or volatile. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM).
Embodiments of the present application may also provide a computer readable storage medium storing a computer program which, when executed by a processor of an electronic device, may implement:
responding to license plate number input operation acted on a license plate number input box in a target page, and rendering and displaying a region abbreviation keyboard in the target page, wherein the region abbreviation keyboard comprises region abbreviation keys corresponding to region abbreviations of provinces, direct administration cities and special administrative areas;
responding to the area abbreviation key selection operation acted on the area abbreviation keyboard, and displaying the area abbreviation corresponding to the selected area abbreviation key in the license plate number input frame;
in response to a keyboard switch operation of the regional abbreviation keyboard, switching the regional abbreviation keyboard rendering to an alphanumeric keyboard, the alphanumeric keyboard comprising: alphanumeric keys corresponding to English letters or numbers;
and responding to the selection operation of the alphanumeric keys acting on the alphanumeric keyboard, and displaying English letters or numbers corresponding to the selected alphanumeric keys in the license plate number input box so as to realize the input of the license plate number.
Further, the computer-usable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created from the use of blockchain nodes, and the like.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus, device and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division when actually implemented.
The modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical units, may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
In addition, each functional module in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units can be realized in a form of hardware or a form of hardware and a form of software functional modules.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential characteristics thereof.
The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
Furthermore, it is evident that the word "comprising" does not exclude other elements or steps, and that the singular does not exclude a plurality. A plurality of units or means recited in the system claims can also be implemented by means of software or hardware by means of one unit or means. The terms second, etc. are used to denote a name, but not any particular order.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present application and not for limiting the same, and although the present application has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present application without departing from the spirit and scope of the technical solution of the present application.

Claims (10)

1. A license plate number input method, characterized in that the method comprises:
responding to license plate number input operation acted on a license plate number input box in a target page, and rendering and displaying a region abbreviation keyboard in the target page, wherein the region abbreviation keyboard comprises region abbreviation keys corresponding to region abbreviations of provinces, direct administration cities and special administrative areas;
responding to the area abbreviation key selection operation acted on the area abbreviation keyboard, and displaying the area abbreviation corresponding to the selected area abbreviation key in the license plate number input frame;
in response to a keyboard switch operation of the regional abbreviation keyboard, switching the regional abbreviation keyboard rendering to an alphanumeric keyboard, the alphanumeric keyboard comprising: alphanumeric keys corresponding to English letters or numbers;
and responding to the selection operation of the alphanumeric keys acting on the alphanumeric keyboard, and displaying English letters or numbers corresponding to the selected alphanumeric keys in the license plate number input box so as to realize the input of the license plate number.
2. The license plate number input method as claimed in claim 1, wherein said rendering a display area abbreviation keyboard in said target page comprises:
obtaining regional abbreviations of provinces, direct administration cities and special administrative areas;
constructing all the regional abbreviations, preset first keyboard switching labels and preset deletion labels as elements into an array form to obtain regional abbreviation arrays;
assigning the locale abbreviation array to an renderkmask variable, and circularly rendering the assigned renderkmask variable to generate a keyboard on the target pageHTML structure of (c) And obtaining the area abbreviated as keyboard.
3. The license plate number input method as claimed in claim 1, wherein said rendering a display area abbreviated as a keyboard in said target page includes:
acquiring equipment position information of equipment where the target page is located, and obtaining position coordinates;
obtaining regional abbreviations of provinces, direct administration cities and special administrative areas;
determining the region of the region where the position coordinates are located as a target region;
constructing all the regional abbreviations, preset first keyboard switching labels and preset deletion labels as elements into an array form to obtain regional abbreviation arrays;
assigning the locale abbreviation array to an renderkmask variable, and circularly rendering the assigned renderkmask variable to generate an HTML structure of a keyboard on the target page Obtaining an initial area abbreviated keyboard;
and highlighting the region abbreviation keys corresponding to all the target region abbreviations in the initial region abbreviation keyboard to obtain the region abbreviation keyboard.
4. The license plate number input method as claimed in claim 1, wherein said switching the area abbreviation keyboard rendering to an alphanumeric keyboard comprises:
constructing all English letters and all numbers from 0 to 9, a preset second keyboard switching label and a preset deleting label as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page And obtaining the alphanumeric keyboard.
5. The license plate number input method as claimed in claim 1, wherein said switching the area abbreviation keyboard rendering to an alphanumeric keyboard comprises:
constructing all English letters and all numbers from 0 to 9, a preset second keyboard switching label and a preset deleting label as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page Obtaining an initial alphanumeric keyboard;
and displaying the key gray scale of the English letters I and the English letters O displayed in the initial alphanumeric keyboard to obtain the alphanumeric keyboard.
6. The license plate number input method according to any one of claims 1 to 5, wherein switching the regional abbreviation keyboard rendering to an alphanumeric keyboard includes:
constructing all English letters except English letter I and English letter O, all numbers from 0 to 9, preset second keyboard switch labels and preset deletion labels as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page And obtaining the alphanumeric keyboard.
7. A license plate number input device, characterized by comprising:
the regional abbreviation input module is used for responding to the license plate number input operation acted on a license plate number input frame in a target page, and rendering and displaying a regional abbreviation keyboard in the target page, wherein the regional abbreviation keyboard comprises regional abbreviation keys corresponding to regional abbreviations of provinces, direct jurisdictions and special administrative regions; responding to the area abbreviation key selection operation acted on the area abbreviation keyboard, and displaying the area abbreviation corresponding to the selected area abbreviation key in the license plate number input frame;
the keyboard switching module is used for responding to the keyboard switching operation of the area abbreviated keyboard and switching the area abbreviated keyboard rendering into an alphanumeric keyboard, and the alphanumeric keyboard comprises: alphanumeric keys corresponding to English letters or numbers;
and the alphanumeric input module is used for responding to the alphanumeric key selection operation acted on the alphanumeric keyboard and displaying English letters or numbers corresponding to the selected alphanumeric keys in the license plate number input frame so as to realize the license plate number input.
8. The license plate number input device of claim 7 wherein switching the zone abbreviation keyboard rendering to an alphanumeric keyboard comprises:
constructing all English letters except English letter I and English letter O, all numbers from 0 to 9, preset second keyboard switch labels and preset deletion labels as elements into an array form to obtain an alphanumeric array;
performing reassignment rendering on the rendeerKeybord variable rendered to the regional simply-called keyboard by utilizing the alphanumeric array so as to generate an HTML structure of the keyboard on the target page And obtaining the alphanumeric keyboard.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor;
wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the license plate number input method of any one of claims 1 to 6.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the license plate number input method according to any one of claims 1 to 6.
CN202311002029.9A 2023-08-09 2023-08-09 License plate number input method, device, equipment and storage medium Pending CN116931743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311002029.9A CN116931743A (en) 2023-08-09 2023-08-09 License plate number input method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311002029.9A CN116931743A (en) 2023-08-09 2023-08-09 License plate number input method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116931743A true CN116931743A (en) 2023-10-24

Family

ID=88384405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311002029.9A Pending CN116931743A (en) 2023-08-09 2023-08-09 License plate number input method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116931743A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117572974A (en) * 2024-01-15 2024-02-20 成都赛力斯科技有限公司 Information input method and device based on customized keyboard, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117572974A (en) * 2024-01-15 2024-02-20 成都赛力斯科技有限公司 Information input method and device based on customized keyboard, electronic equipment and medium
CN117572974B (en) * 2024-01-15 2024-03-29 成都赛力斯科技有限公司 Information input method and device based on customized keyboard, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN112418798A (en) Information auditing method and device, electronic equipment and storage medium
CN116931743A (en) License plate number input method, device, equipment and storage medium
CN114491047A (en) Multi-label text classification method and device, electronic equipment and storage medium
CN113868529A (en) Knowledge recommendation method and device, electronic equipment and readable storage medium
CN112464619B (en) Big data processing method, device and equipment and computer readable storage medium
CN113868528A (en) Information recommendation method and device, electronic equipment and readable storage medium
CN112686026B (en) Keyword extraction method, device, equipment and medium based on information entropy
CN112069782B (en) Document template generation method and device, electronic equipment and storage medium
CN113468175A (en) Data compression method and device, electronic equipment and storage medium
CN111985194A (en) Data storage method and device, electronic equipment and storage medium
CN111932413A (en) Case element extraction method, case element extraction device, case element extraction equipment and case element extraction medium
CN114547011A (en) Data extraction method and device, electronic equipment and storage medium
CN113822215A (en) Equipment operation guide file generation method and device, electronic equipment and storage medium
CN113486646A (en) Product report issuing method and device, electronic equipment and readable storage medium
CN112528984A (en) Image information extraction method, device, electronic equipment and storage medium
CN112527282B (en) Front-end page verification method and device, electronic equipment and storage medium
CN115758013B (en) Intelligent visual office method and device
CN113434650B (en) Question-answer pair expansion method and device, electronic equipment and readable storage medium
CN116305278A (en) Data encryption query method, device, equipment and storage medium
CN116071113A (en) Advertisement putting method, device, equipment and medium
CN113723958A (en) Payment file testing method, device, equipment and medium based on AI encryption
CN115033605A (en) Data query method and device, electronic equipment and storage medium
CN114398277A (en) Test information marking method, device, equipment and readable storage medium
CN114896270A (en) Function switch state modification method, device, equipment and storage medium
CN113590856A (en) Label query method and device, electronic equipment and readable 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