CN110888953B - Region information input method and device - Google Patents

Region information input method and device Download PDF

Info

Publication number
CN110888953B
CN110888953B CN201911111725.7A CN201911111725A CN110888953B CN 110888953 B CN110888953 B CN 110888953B CN 201911111725 A CN201911111725 A CN 201911111725A CN 110888953 B CN110888953 B CN 110888953B
Authority
CN
China
Prior art keywords
information
region information
area
region
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.)
Active
Application number
CN201911111725.7A
Other languages
Chinese (zh)
Other versions
CN110888953A (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.)
China Air Clearing Co ltd
China Travelsky Technology Co Ltd
Original Assignee
China Air Clearing Co ltd
China Travelsky Technology 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 China Air Clearing Co ltd, China Travelsky Technology Co Ltd filed Critical China Air Clearing Co ltd
Priority to CN201911111725.7A priority Critical patent/CN110888953B/en
Publication of CN110888953A publication Critical patent/CN110888953A/en
Application granted granted Critical
Publication of CN110888953B publication Critical patent/CN110888953B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Remote Sensing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to the technical field of information, in particular to a region information input method and a device, wherein the method comprises the following steps: when an information input request is received, displaying an information input area to a user; receiving each area information code input by a user, and sending a data request corresponding to each area information code to a server; receiving a data set fed back by a server, and acquiring region information matched with the region information code from the data set; displaying the information of each region in an information display area; receiving a logic operation instruction which is input by a user and corresponds to each region information in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and recording and storing an obtained logic operation result. By applying the method provided by the invention, the region information can be obtained only by inputting the region information code by the user, the region information is input and stored, and the working efficiency of inputting the region information is improved.

Description

Region information input method and device
Technical Field
The invention relates to the technical field of information, in particular to a region information input method and device.
Background
With the rapid development of science and technology, the settlement system of civil aviation is more mature, various data are frequently required to be maintained in the settlement system of civil aviation, and various regional information is required to be applied in the process of maintaining various data. And the user can input the information of each region through a management platform of the client to complete the matching of the service modules.
In the process of entering the area information, the area information needs to be entered one by one, and the entering process is complicated, for example, entering an airport in the east China area needs to enter the area information of the airport in the east China area one by one. If the regional information of a certain part of urban airports in east China needs to be eliminated, the regional information of the region needs to be checked, and the regional information needing to be eliminated is selected. Therefore, in the prior art, the work efficiency is greatly reduced by using the mode of inputting the regional information by the management platform of the client.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a region information input method, and by the method, the region information can be input through a client, so that the working efficiency is improved.
The invention also provides a region information input device which is used for ensuring the realization and the application of the method in practice.
A region information entry method comprises the following steps:
when an information input request sent by a user is received, displaying a preset information input area to the user;
receiving each area information code input by a user in the information input area, and sending a data request corresponding to each area information code to a preset server;
receiving a data set corresponding to each data request fed back by the server, and acquiring region information matched with the region information code corresponding to the data request from the data set;
displaying each acquired region information in a preset information display area;
receiving a logic operation instruction which is input by a user and corresponds to each region information displayed in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and inputting and storing an obtained logic operation result.
The method optionally further includes, before receiving the logic operation instruction input by the user, that:
judging whether a deleting instruction input by a user in the information display area is received;
and when the deleting instruction is received, determining the region information corresponding to the deleting instruction, and deleting the region information corresponding to the deleting instruction in the information display area.
Optionally, the method for receiving a data set corresponding to each data request fed back by the server, and acquiring, from the data set, area information matched with the area information code corresponding to the data request includes:
when a data set corresponding to each data request fed back by the server is received, sorting the region information in each data set from high to low according to the similarity of the region information codes, and displaying the sorted data set to a user;
and receiving a selection instruction input by the user, and acquiring the area information matched with the area information code corresponding to the data request from the sorted data set according to the selection instruction.
Optionally, in the method, the executing, according to the logic operation instruction, a logic operation corresponding to the logic operation instruction on each piece of the region information, and recording and storing an obtained logic operation result includes:
when the number of the plurality of regional information is larger than two, determining first target regional information and a first information set in the plurality of regional information, wherein the first target regional information is the regional information with the largest information amount in the plurality of regional information; the first information set comprises other region information except the first target region information in the plurality of region information;
performing union set operation on each region information in the first information set to obtain union region information corresponding to the first information set;
and according to the logic operation instruction, performing complement set operation on the first target region information and the union region information to obtain complement region information corresponding to the first target region information, and inputting and storing the complement region information.
Optionally, in the method, the executing, according to the logic operation instruction, a logic operation corresponding to the logic operation instruction on each piece of the region information, and recording and storing an obtained logic operation result includes:
and when the number of the plurality of area information is two, performing complementary set operation on the two area information according to the logic operation instruction to obtain complementary set area information corresponding to the two area information, and inputting and storing the complementary set area information.
A regional information entry device comprising:
the first display unit is used for displaying a preset information input area to a user when receiving an information input request sent by the user;
the sending unit is used for receiving each area information code which is input in the information input area by a user and sending a data request corresponding to each area information code to a preset server;
the acquisition unit is used for receiving a data set corresponding to each data request fed back by the server and acquiring the area information matched with the area information code corresponding to the data request from the data set;
the second display unit is used for displaying the acquired region information in a preset information display area;
and the operation unit is used for receiving a logic operation instruction which is input by a user and corresponds to each region information displayed in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and recording and storing an obtained logic operation result.
The above apparatus, optionally, further comprises:
the judging unit is used for judging whether a deleting instruction input by a user in the information display area is received or not;
and the deleting unit is used for determining the area information corresponding to the deleting instruction when the deleting instruction is received, and deleting the area information corresponding to the deleting instruction in the information display area.
The above apparatus, optionally, the obtaining unit includes:
the sequencing subunit is used for sequencing the region information in each data set from high to low according to the similarity of the region information codes when receiving the data set corresponding to each data request fed back by the server, and displaying the sequenced data sets to a user;
and the acquisition subunit is used for receiving a selection instruction input by the user and acquiring the area information matched with the area information code corresponding to the data request from the sorted data set according to the selection instruction.
The above device, optionally, the operation unit, comprises
A determining subunit, configured to determine, when the number of the plurality of pieces of region information is greater than two, a first target region information and a first information set in the plurality of pieces of region information, where the first target region information is a region information having a largest information amount among the plurality of pieces of region information; the first information set comprises other region information except the first target region information in the plurality of region information;
the first operation subunit is configured to perform union operation on each piece of region information in the first information set to obtain union region information corresponding to the first information set;
and the second operation subunit is configured to perform complement set operation on the first target region information and the union region information according to the logic operation instruction, obtain complement set region information corresponding to the first target region information, and record and store the complement set region information.
The above apparatus, optionally, the operation unit includes:
and the third operation subunit is configured to, when the number of the plurality of pieces of region information is two, perform complementary set operation on the two pieces of region information according to the logic operation instruction, obtain complementary set region information corresponding to the two pieces of region information, and record and store the complementary set region information.
A storage medium comprising stored instructions, wherein the instructions, when executed, control a device on which the storage medium is located to execute the above-mentioned region information entry method.
An electronic device comprising a memory, and one or more instructions, wherein the one or more instructions are stored in the memory and configured to be executed by the one or more processors to perform the above-described method of region information entry.
Compared with the prior art, the invention has the following advantages:
the invention provides a region information input method, which comprises the following steps: when an information input request is received, displaying an information input area to a user; receiving each area information code input by a user, and sending a data request corresponding to each area information code to a server; receiving a data set fed back by a server, and acquiring region information matched with a region information code corresponding to the data request from the data set; displaying the acquired information of each region in an information display area; and receiving a logic operation instruction which is input by a user and corresponds to each region information displayed in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and recording and storing an obtained logic operation result. By applying the method provided by the invention, the region information can be obtained only by inputting the region information code by the user, the region information is input and stored, and the working efficiency of inputting the region information is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for entering region information according to an embodiment of the present invention;
fig. 2 is a diagram illustrating an example of a method for entering area information according to an embodiment of the present invention;
fig. 3 is a device structure diagram of a region information recording device 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In this application, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions, and the terms "comprises", "comprising", or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The invention is operational with numerous general purpose or special purpose computing device environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multi-processor devices, devices or equipment including any of the above that can be used to enter locale information via a client, etc.
The embodiment of the invention provides a region information entry method, which can be applied to various system platforms, wherein an execution main body of the method can be a computer terminal or a client installed on various mobile devices, and a flow chart of the method is shown in fig. 1 and specifically comprises the following steps:
s101: when an information input request sent by a user is received, displaying a preset information input area to the user;
in the method provided by the embodiment of the invention, when a user needs to enter the region information through the client, an information entry request can be sent to the client, and when the client receives the information entry request sent by the user, a preset information entry area is popped up and the information entry area is displayed to the user.
It should be noted that the client may be a freight mail income management platform. The information entry request may be that the user sends an information entry request to the client by clicking a display interface of the client. The region information code may be a multi-dimensional region information code, and the region information code may be an abbreviation representing a region, for example, a chinese region abbreviated as CN.
S102: receiving each area information code input by a user in the information input area, and sending a data request corresponding to each area information code to a preset server;
in the method provided by the embodiment of the invention, after the client displays the information entry area to the user, the user can sequentially enter a plurality of area information codes in the information entry area. And after receiving each area information code input by the user in the information input area, the client sends a data request corresponding to each area information code to a preset server.
It should be noted that the server may be a server that manages information and data of each region. Identification information corresponding to the region information code may be included in the data request.
S103: receiving a data set corresponding to each data request fed back by the server, and acquiring region information matched with the region information code corresponding to the data request from the data set;
in the method provided by the embodiment of the present invention, after the client sends a data request to the server, a data set corresponding to each data request fed back by the server may be immediately received, and the area information matched with the area information code corresponding to the data request may be obtained from the data set.
It should be noted that, after receiving the data request of the client, the server performs fuzzy search according to the area information code, searches for a data set corresponding to the area information code, and feeds back the data set obtained by fuzzy search to the client. The area information may be airport information of a certain city, information of each airport of a certain country, freight rate information of each city, or the like, and may specifically include area information of an airport, a city, a country, a geographic area, a continent, a voyage area, and the like.
S104: displaying the acquired region information in a preset information display area;
in the method provided by the embodiment of the invention, after the client acquires the information of each region, the client can display the information of each region in the information display area through the preset information display area.
S105: receiving a logic operation instruction which is input by a user and corresponds to each region information displayed in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and inputting and storing an obtained logic operation result.
In the method provided by the embodiment of the present invention, after the client displays each piece of region information in the information display area, if a logic operation instruction corresponding to each piece of region information displayed in the information display area is received, which is input by the user, the client may execute a logic operation corresponding to the logic operation instruction on each piece of region information in the information display area according to the logic operation instruction. And after the client executes the logic operation, obtaining a logic operation result, and recording and storing the logic operation result.
It should be noted that the logic operation instruction may include various logic instructions in a data set, such as: intersection, union, complement and other operation instructions.
In the region information entry method provided by the embodiment of the invention, when a client receives an information entry request of a user, the client pops up a preset information entry area according to the information entry request of the user, and displays the information entry area to the user. And receiving each area information code which is input in the information input area by the user. And after obtaining each area information code, the client sends a data request corresponding to each area information code to a preset server. After receiving the data requests, the server performs fuzzy search on each data request, and feeds back a data set corresponding to each data request to the client. And after receiving the data set fed back by the server, the client acquires the area information matched with the area information code corresponding to the data request from the data set, and displays each area information to the user through a preset information display area. In the process that the client displays the region information to the user through the information display area, if a logic operation instruction corresponding to each region information is input on the information display area by the user, the client can execute corresponding logic operation according to the logic operation instruction to obtain a logic operation result, and the logic operation result is recorded and stored.
It should be noted that each of the area information codes may be sequentially entered for the user. After receiving a region information code, the client can send a data request corresponding to the region information code to the server to obtain the region information corresponding to the region information code; and after receiving the second information code again, the client sends a data request corresponding to the second area information code to the server again to obtain the area information corresponding to the second area information code, so that each time one area information code is received, the client sends a data request to the server to obtain the area information corresponding to each area information code. And when the client acquires one area information, displaying the currently acquired area information into the information display area. And the logical operation result is the region information generated after each region information is logically operated.
The region information input method provided by the embodiment of the invention can be applied to many fields, for example, the field of civil aviation goods mail settlement, and the region information can be input through the client. Before the method provided by the embodiment of the invention is applied, a user can send an information entry request to a client by clicking the client, the client displays a preset information entry area to the user when receiving the information entry request sent by the user, and the user can enter area information codes of all area information to be acquired in the information entry area. And when the client acquires the area information code currently input by the user, the client can send a data request to a preset server according to the area information code. And after receiving the data request, the server feeds back a data set corresponding to the data request to the client according to a search result of fuzzy search. And after receiving the data set fed back by the server, the client acquires the area information matched with the area information code corresponding to the data request from the data set, and displays the area information to a preset information display area. And when a user inputs a logic operation instruction through the information display area, the client executes logic operation on the area information in the information display area according to the logic operation instruction, and records and stores a logic operation result after the logic operation is performed.
By applying the method provided by the embodiment of the invention, after a user only needs to input the area information code, the client can obtain the data set corresponding to the area information code, obtain the area information from the data set, perform logic operation on the area information according to the logic operation instruction input by the user, obtain the logic operation result, and input and store the logic operation result, so that the working efficiency of inputting the area information is improved.
In the area information entry method provided by the embodiment of the present invention, optionally, when the client displays a preset information entry area to the user, an entry format for the user to enter an area information code may be set in the information entry area. The input format may be an input format in which pressing of Ctrl, Alt, shift, enter, and the like keys is prohibited, or the user can only input english and a semicolon character, and the like.
Further, if the user enters other characters which do not conform to the entry format in the information entry area, the client will not recognize the characters in other formats, and will prompt the user for a prompt message indicating that the entry format is wrong. Optionally, the client may prompt the user for the entry format in the information entry area through a format prompt message, or automatically shield entry of other characters that are not in the entry format.
In the method provided by the embodiment of the present invention, before the client receives the logic operation instruction input by the user, the method specifically further includes:
judging whether a deleting instruction input by a user in the information display area is received;
and when the deleting instruction is received, determining the region information corresponding to the deleting instruction, and deleting the region information corresponding to the deleting instruction in the information display area.
In the region information entry method provided by the embodiment of the present invention, after the client obtains each piece of region information, during the period of displaying each piece of region information, if a logical operation instruction input by a user is received, it can be determined in advance whether a deletion instruction input by the user in the information display area is received. And if the client receives a deleting instruction input by the user, deleting the region information corresponding to the deleting instruction. Optionally, if the area information entered in the information display area is wrong, the user may click the currently-entered wrong area information, and the client may display a delete icon above the currently-clicked area information by using the information display area. And if the user clicks the deletion icon, the client receives a deletion instruction corresponding to the user clicking the deletion icon, and the client receives the deletion instruction input by the user in the information display area according to the deletion instruction.
Further, if the client receives a one-key deletion instruction input by a user, all the area information and the area information codes in the information display area and the information input area are deleted according to the one-key deletion instruction. Optionally, when the client receives the deletion instruction, the client may prompt the user whether to confirm deletion, and if the user chooses not to delete, the client does not perform deletion operation according to the deletion instruction, so as to avoid the user performing misoperation on the area information.
By applying the method provided by the embodiment of the invention, if the user inputs the region information in error, the region information with the error input can be deleted by deleting the instruction, so that the working efficiency of inputting the region information is improved.
In the method provided by the embodiment of the present invention, when the client receives the data set corresponding to each data request fed back by the server, and acquires the area information matched with the area information code corresponding to the data request from the data set, the method specifically includes:
when a data set corresponding to each data request fed back by the server is received, sorting the region information in each data set from high to low according to the similarity of the region information codes, and displaying the sorted data set to a user;
and receiving a selection instruction input by the user, and acquiring the area information matched with the area information code corresponding to the data request from the sorted data set according to the selection instruction.
In the region information entry method provided by the embodiment of the invention, when the client receives the data set corresponding to each data request fed back by the server, the client can determine the similarity between the region information in each current data set and the region information code according to each region information in the current data set, sort the region information in each current data set according to the similarity from high to low, and display the sorted data set to the user. After the user selects each piece of region information in the sorted data set, the client may obtain, according to a selection instruction input by the user, the region information matched with the region information code corresponding to the data request from the sorted data set.
Optionally, after the client performs sorting, the client may label each sorted area information, the user only needs to input a number corresponding to the area information to be selected, and the client may obtain, according to the selected number, the area information matched with the area information code corresponding to the data request from the sorted data set.
Based on the method provided in the foregoing embodiment, if the area information code entered in the information entry area of the client is CN, after sending a data request to the server, the client receives a data set fed back by the server, where the data set may include area information such as CN, CNAB, CNA, and CAN. The client performs sorting according to the similarity between each area information in the data set and the area information code, for example, sorting into CN, CNA, CNAB, and CAN. The user can perform selection operation according to the sorted data set, and the client can acquire the area information matched with the area information code from the sorted data set according to the selection instruction corresponding to the selection operation.
In the method provided by the embodiment of the present invention, optionally, the data set may include an empty set, and when the data set is the empty set, it indicates that the server cannot search the data corresponding to the area information code, and the client prompts the user that the data related to the area information code cannot be searched, and prompts the user to re-input a new area information code.
By applying the method provided by the embodiment of the invention, the client can sort the regional information in each data set, and then acquire the regional information to be input according to the selection instruction input by the user, thereby improving the working efficiency.
In the method provided in the embodiment of the present invention, the client may execute, according to the logic operation instruction, a logic operation corresponding to the logic operation instruction on each piece of the region information, and record and store an obtained logic operation result, as shown in fig. 2, specifically, the method may include:
s201: when the number of the plurality of regional information is larger than two, determining first target regional information and a first information set in the plurality of regional information, wherein the first target regional information is the regional information with the largest information amount in the plurality of regional information; the first information set comprises other region information except the first target region information in the plurality of region information;
s202: performing union set operation on each region information in the first information set to obtain union region information corresponding to the first information set;
s203: and according to the logic operation instruction, performing complement set operation on the first target region information and the union region information to obtain complement region information corresponding to the first target region information, and inputting and storing the complement region information.
In the method provided by the embodiment of the present invention, the client may execute, according to the logic operation instruction, a logic operation corresponding to the logic operation instruction on each piece of the region information, and record and store an obtained logic operation result, which may specifically include:
and when the number of the plurality of area information is two, performing complementary set operation on the two area information according to the logic operation instruction to obtain complementary set area information corresponding to the two area information, and inputting and storing the complementary set area information.
In the area information entry method provided by the embodiment of the invention, when the client receives a logic operation instruction corresponding to each displayed area information, which is input by a user in the information display area, the client can determine in advance whether the number of the area information in the information display area is more than two. When the number of the plurality of regional information in the information display area is greater than two, the client may determine a first target regional information and a first information set in the information display area among the plurality of regional information. Wherein the first target region information is region information with the largest information amount among the plurality of region information; the first information set includes a plurality of pieces of region information other than the first target region information. And the client side performs union operation on each region information in the first region information set in advance to obtain union region information corresponding to the first information set. And the client performs complementation set operation on the first target region information and the union region information according to a logic operation instruction input by a user, acquires complementation set region information corresponding to the first target region information according to the complementation set operation, and records and stores the complementation set region information. When the number of the plurality of area information is two, the client can directly perform complementation set operation on the two area information in the information display area according to a logic operation instruction input by a user, obtain complementation area information corresponding to the two area information, and record and store the complementation area information.
It should be noted that the logical operation instruction may be an intersection operation instruction, a complement operation instruction, or the like.
The method provided based on the embodiment can be applied to the field of civil aviation goods and mail settlement, for example, when a user needs to input the regional information of all airports except Shanghai in China, the user only needs to input the regional information code corresponding to China and the regional information code corresponding to Shanghai in the information input region of the client. The client acquires Chinese region information according to the region information code corresponding to China, wherein the Chinese region information comprises region information of all airports in China; and obtaining Shanghai region information according to the region information code corresponding to the Shanghai, wherein the Shanghai region information comprises region information of all airports in the Shanghai. The user can input a logic operation instruction to the Chinese area information and Shanghai area information, and the client performs complementation set operation on the Chinese area information and Shanghai area information according to the logic operation instruction to obtain the area information of all airports except Shanghai in China. If the user needs to enter the regional information of all airports except Shanghai and Beijing in China, the user only needs to enter the regional information code corresponding to China, the regional information code corresponding to Beijing and the regional information code corresponding to Shanghai in the information entry area of the client. After the client displays the Chinese area information, the Beijing area information and the Shanghai area information in the information display area, according to a logic operation instruction of a user, firstly carrying out union operation on the Beijing area information and the Shanghai area information to obtain union area information, wherein the union area information comprises area information of all airports in China and Shanghai. And then, carrying out complementation operation on the Beijing area information and the union area information to obtain the area information of all airports except Beijing and Shanghai in China. By applying the method provided by the embodiment, the user does not need to input the regional information one by one, and the working efficiency is greatly improved.
In the method provided by the embodiment of the invention, when only one piece of region information exists in the information display area and the user does not enter new region information through the client any more, the user can enter a storage symbol or select a confirmation button enter to enter and store the region information. The above specific implementations and the derivation processes of the implementations are all within the scope of the present invention.
Corresponding to the method described in fig. 1, an embodiment of the present invention further provides a region information entry apparatus, which is used for implementing the method in fig. 1 specifically, the region information entry apparatus provided in the embodiment of the present invention may be applied to a computer terminal or various mobile devices, and a schematic structural diagram of the region information entry apparatus is shown in fig. 3, and specifically includes:
the first display unit 301 is configured to display a preset information entry area to a user when receiving an information entry request sent by the user;
a sending unit 302, configured to receive each area information code entered by the user in the information entry area, and send a data request corresponding to each area information code to a preset server;
an obtaining unit 303, configured to receive a data set corresponding to each data request fed back by the server, and obtain, from the data set, area information matched with the area information code corresponding to the data request;
a second display unit 304, configured to display each acquired regional information in a preset information display area;
an operation unit 305, configured to receive a logic operation instruction corresponding to each piece of the region information displayed in the information display area, which is input by a user, execute a logic operation corresponding to the logic operation instruction on each piece of the region information according to the logic operation instruction, and record and store an obtained logic operation result.
In the device provided by the embodiment of the invention, when the client receives an information entry request of a user, the client pops up a preset information entry area, and the first display unit displays the information entry area to the user. And then the sending unit sends a data request corresponding to each area information code which is input by the user in the information input area to a preset server. And after receiving the data request, the server performs fuzzy search to obtain a data set and feed the data set back to the client. After the client receives the data sets fed back by the server, the acquisition unit acquires the area information matched with the area information codes from each data set, and then the second display unit displays each area information in a preset information display area. And finally, carrying out logic operation on the region information by an operation unit according to the logic operation instruction input by the user to obtain a logic operation result, and recording and storing the logic operation result.
By applying the device provided by the embodiment of the invention, the client can obtain the region information according to the region information code input by the user, and then the operation unit executes the logic operation according to the logic operation instruction input by the user, so that the region information is input and stored, and the working efficiency is improved.
The device provided by the embodiment of the invention specifically comprises:
the judging unit is used for judging whether a deleting instruction input by a user in the information display area is received or not;
and the deleting unit is used for determining the area information corresponding to the deleting instruction when the deleting instruction is received, and deleting the area information corresponding to the deleting instruction in the information display area.
In the area information entry device provided by the embodiment of the invention, in the process of entering the information of each area by the client, if a logic operation instruction input by a user is received, before the client executes logic operation according to the logic operation instruction, the judging unit can judge whether the user inputs a deletion instruction in the information display area, and if the deletion instruction is received, the deleting unit deletes the area information corresponding to the deletion instruction.
By applying the device provided by the embodiment of the invention, when the client receives the deleting instruction, the deleting unit can delete the area information corresponding to the deleting instruction according to the deleting instruction, and if the deleted area information is the area information with wrong entry, the correctness of the entry of the area information can be ensured and the working efficiency can be improved through the deleting unit.
In the apparatus provided in the embodiment of the present invention, the obtaining unit includes:
the sequencing subunit is used for sequencing the region information in each data set from high to low according to the similarity of the region information codes when receiving the data set corresponding to each data request fed back by the server, and displaying the sequenced data sets to a user;
and the acquisition subunit is used for receiving a selection instruction input by the user and acquiring the area information matched with the area information code corresponding to the data request from the sorted data set according to the selection instruction.
In the area information entry device provided by the embodiment of the invention, the acquisition unit comprises a sequencing subunit and an acquisition subunit. After the client receives the data set, the sorting subunit sorts the region information in the data set, the sorting mode can be that the region information in the data set is sorted from high to low according to the similarity of the region information and the region information code, and the sorted data set is displayed to a user. When a selection instruction input by the user is received, the obtaining unit may obtain, according to the selection instruction, the area information matched with the area information code corresponding to the data request from the sorted data set.
By applying the device provided by the embodiment of the invention, the region information in the data set is sequenced according to the similarity, the region information needing to be input can be acquired more quickly, and the working efficiency is improved.
In the device provided by the embodiment of the invention, the operation unit comprises
A determining subunit, configured to determine, when the number of the plurality of pieces of region information is greater than two, a first target region information and a first information set in the plurality of pieces of region information, where the first target region information is a region information having a largest information amount among the plurality of pieces of region information; the first information set comprises other region information except the first target region information in the plurality of region information;
the first operation subunit is configured to perform union operation on each piece of region information in the first information set to obtain union region information corresponding to the first information set;
and the second operation subunit is configured to perform complement set operation on the first target region information and the union region information according to the logic operation instruction, obtain complement set region information corresponding to the first target region information, and record and store the complement set region information.
In the apparatus provided in the embodiment of the present invention, the operation unit includes:
and the third operation subunit is configured to, when the number of the plurality of pieces of region information is two, perform complementary set operation on the two pieces of region information according to the logic operation instruction, obtain complementary set region information corresponding to the two pieces of region information, and record and store the complementary set region information.
In the area information entry device provided by the embodiment of the present invention, the operation unit may include a determination subunit, a first operation subunit, and a second operation subunit. The operation unit may specifically include a third operation subunit. When a user inputs a logic operation instruction and the number of the region information in the information display area is more than two, the determining subunit determines a first target region information and a first information set in the information display area. The first target region information is the region information with the largest information amount in the plurality of region information; the first information set includes a plurality of pieces of region information other than the first target region information. And carrying out union set operation on the first information set by a first operation subunit to obtain union set region information. And then, a second operation subunit performs complementary set operation on the first target area information and the union area information to obtain complementary set area information, and the complementary set area information is recorded and stored. And if the number of the area information in the information display area is only two, performing complementary set operation on the two area information according to a third operation subunit to obtain complementary set area information, and inputting and storing the complementary set area information.
By applying the device provided by the embodiment of the invention, if the number of the area information in the information input area is more than two, the first target area information and the first information set are determined, and the first operation subunit and the second operation subunit perform the union operation and then the complement operation to obtain the complement area information for input and storage; if the number of the area information in the information input area is two, the complementary set area information is obtained by performing complementary set operation according to the third operation subunit and is input and stored, and the work efficiency of inputting the area information is improved.
The embodiment of the present invention further provides a storage medium, where the storage medium includes a stored instruction, where when the instruction runs, a device where the storage medium is located is controlled to execute the above-mentioned region information entry method, and the method includes:
when an information input request sent by a user is received, displaying a preset information input area to the user;
receiving each area information code input by a user in the information input area, and sending a data request corresponding to each area information code to a preset server;
receiving a data set corresponding to each data request fed back by the server, and acquiring region information matched with the region information code corresponding to the data request from the data set;
displaying each acquired region information in a preset information display area;
receiving a logic operation instruction which is input by a user and corresponds to each region information displayed in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and inputting and storing an obtained logic operation result.
The method optionally further includes, before receiving the logic operation instruction input by the user, that:
judging whether a deleting instruction input by a user in the information display area is received;
and when the deleting instruction is received, determining the region information corresponding to the deleting instruction, and deleting the region information corresponding to the deleting instruction in the information display area.
Optionally, the method for receiving a data set corresponding to each data request fed back by the server, and acquiring, from the data set, area information matched with the area information code corresponding to the data request includes:
when a data set corresponding to each data request fed back by the server is received, sorting the region information in each data set from high to low according to the similarity of the region information codes, and displaying the sorted data set to a user;
and receiving a selection instruction input by the user, and acquiring the area information matched with the area information code corresponding to the data request from the sorted data set according to the selection instruction.
Optionally, in the method, the executing, according to the logic operation instruction, a logic operation corresponding to the logic operation instruction on each piece of the region information, and recording and storing an obtained logic operation result includes:
when the number of the plurality of regional information is larger than two, determining first target regional information and a first information set in the plurality of regional information, wherein the first target regional information is the regional information with the largest information amount in the plurality of regional information; the first information set comprises other region information except the first target region information in the plurality of region information;
performing union set operation on each region information in the first information set to obtain union region information corresponding to the first information set;
and according to the logic operation instruction, performing complement set operation on the first target area information and the union set area information to obtain complement set area information corresponding to the first target area information, and inputting and storing the complement set area information.
Optionally, in the method, the executing, according to the logic operation instruction, a logic operation corresponding to the logic operation instruction on each piece of the region information, and recording and storing an obtained logic operation result includes:
and when the number of the plurality of area information is two, performing complementary set operation on the two area information according to the logic operation instruction to obtain complementary set area information corresponding to the two area information, and inputting and storing the complementary set area information.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 4, which specifically includes a memory 401 and one or more instructions 402, where the one or more instructions 402 are stored in the memory 401 and configured to be executed by one or more processors 403 to perform the following operations for executing the one or more instructions 402:
when an information input request sent by a user is received, displaying a preset information input area to the user;
receiving each area information code input by a user in the information input area, and sending a data request corresponding to each area information code to a preset server;
receiving a data set corresponding to each data request fed back by the server, and acquiring region information matched with the region information code corresponding to the data request from the data set;
displaying each acquired region information in a preset information display area;
receiving a logic operation instruction which is input by a user and corresponds to each region information displayed in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and inputting and storing an obtained logic operation result.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A region information entry method is characterized by comprising the following steps:
when an information input request sent by a user is received, displaying a preset information input area to the user;
receiving each area information code input by a user in the information input area, and sending a data request corresponding to each area information code to a preset server;
receiving a data set corresponding to each data request fed back by the server, and acquiring region information matched with the region information code corresponding to the data request from the data set;
displaying each acquired region information in a preset information display area;
receiving a logic operation instruction which is input by a user and corresponds to each region information displayed in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and inputting and storing an obtained logic operation result;
the executing, according to the logic operation instruction, a logic operation corresponding to the logic operation instruction on each piece of the region information, and recording and storing an obtained logic operation result includes:
and when the number of the plurality of area information is two, performing complementary set operation on the two area information according to the logic operation instruction to obtain complementary set area information corresponding to the two area information, and inputting and storing the complementary set area information.
2. The method of claim 1, prior to receiving the user-entered logical operation instruction, further comprising:
judging whether a deleting instruction input by a user in the information display area is received;
and when the deleting instruction is received, determining the region information corresponding to the deleting instruction, and deleting the region information corresponding to the deleting instruction in the information display area.
3. The method according to claim 1 or 2, wherein receiving a data set corresponding to each data request fed back by the server, and obtaining the region information matching the region information code corresponding to the data request from the data set comprises:
when a data set corresponding to each data request fed back by the server is received, sorting the region information in each data set from high to low according to the similarity of the region information codes, and displaying the sorted data set to a user;
and receiving a selection instruction input by the user, and acquiring the area information matched with the area information code corresponding to the data request from the sorted data set according to the selection instruction.
4. The method according to claim 1, wherein the executing, according to the logical operation instruction, a logical operation corresponding to the logical operation instruction on each piece of the region information, and recording and storing an obtained logical operation result comprises:
when the number of the plurality of regional information is more than two, determining first target regional information and a first information set in the plurality of regional information, wherein the first target regional information is the regional information with the largest information amount in the plurality of regional information; the first information set comprises other region information except the first target region information in the plurality of region information;
performing union set operation on each region information in the first information set to obtain union region information corresponding to the first information set;
and according to the logic operation instruction, performing complement set operation on the first target region information and the union region information to obtain complement region information corresponding to the first target region information, and inputting and storing the complement region information.
5. A regional information entry device, comprising:
the first display unit is used for displaying a preset information input area to a user when receiving an information input request sent by the user;
the sending unit is used for receiving each area information code which is input in the information input area by a user and sending a data request corresponding to each area information code to a preset server;
the acquisition unit is used for receiving a data set corresponding to each data request fed back by the server and acquiring the area information matched with the area information code corresponding to the data request from the data set;
the second display unit is used for displaying the acquired region information in a preset information display area;
the operation unit is used for receiving a logic operation instruction which is input by a user and corresponds to each region information displayed in the information display area, executing logic operation corresponding to the logic operation instruction on each region information according to the logic operation instruction, and inputting and storing an obtained logic operation result;
the operation unit includes:
and the third operation subunit is configured to, when the number of the plurality of pieces of region information is two, perform complementary set operation on the two pieces of region information according to the logic operation instruction, obtain complementary set region information corresponding to the two pieces of region information, and record and store the complementary set region information.
6. The apparatus of claim 5, further comprising:
the judging unit is used for judging whether a deleting instruction input by a user in the information display area is received or not;
and the deleting unit is used for determining the area information corresponding to the deleting instruction when the deleting instruction is received, and deleting the area information corresponding to the deleting instruction in the information display area.
7. The apparatus according to claim 5 or 6, wherein the obtaining unit comprises:
the sequencing subunit is used for sequencing the region information in each data set from high to low according to the similarity of the region information codes when receiving the data set corresponding to each data request fed back by the server, and displaying the sequenced data sets to a user;
and the acquisition subunit is used for receiving a selection instruction input by the user and acquiring the area information matched with the area information code corresponding to the data request from the sorted data set according to the selection instruction.
8. The apparatus according to claim 5, wherein the operation unit comprises
A determining subunit, configured to determine, when the number of the plurality of pieces of region information is greater than two, a first target region information and a first information set in the plurality of pieces of region information, where the first target region information is a region information having a largest information amount among the plurality of pieces of region information; the first information set comprises other region information except the first target region information in the plurality of region information;
the first operation subunit is configured to perform union operation on each piece of region information in the first information set to obtain union region information corresponding to the first information set;
and the second operation subunit is configured to perform complement set operation on the first target region information and the union region information according to the logic operation instruction, obtain complement set region information corresponding to the first target region information, and record and store the complement set region information.
CN201911111725.7A 2019-11-14 2019-11-14 Region information input method and device Active CN110888953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911111725.7A CN110888953B (en) 2019-11-14 2019-11-14 Region information input method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911111725.7A CN110888953B (en) 2019-11-14 2019-11-14 Region information input method and device

Publications (2)

Publication Number Publication Date
CN110888953A CN110888953A (en) 2020-03-17
CN110888953B true CN110888953B (en) 2022-07-05

Family

ID=69747453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911111725.7A Active CN110888953B (en) 2019-11-14 2019-11-14 Region information input method and device

Country Status (1)

Country Link
CN (1) CN110888953B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101231636B (en) * 2007-01-25 2013-09-25 北京搜狗科技发展有限公司 Convenient information search method, system and an input method system
CN101719961A (en) * 2009-12-16 2010-06-02 中兴通讯股份有限公司 Implementation method, terminal and communication system for inquiring region information
CN101968811A (en) * 2010-10-20 2011-02-09 刘炳林 Method and device for online telephone data query, server, mobile phone and system
CN106855748A (en) * 2015-12-08 2017-06-16 阿里巴巴集团控股有限公司 A kind of data inputting method, device and intelligent terminal
EP3472718A4 (en) * 2016-06-19 2020-04-01 Data.world, Inc. Collaborative dataset consolidation via distributed computer networks
CN106095997A (en) * 2016-06-21 2016-11-09 大连天空科技发展有限公司 The input method of administrative district address information and device
CN106776769A (en) * 2016-11-23 2017-05-31 天脉聚源(北京)科技有限公司 A kind of method and device of dynamic generation chart
CN110222086A (en) * 2019-05-07 2019-09-10 深圳壹账通智能科技有限公司 Data managing method, device, equipment and storage medium based on block chain

Also Published As

Publication number Publication date
CN110888953A (en) 2020-03-17

Similar Documents

Publication Publication Date Title
US7313514B2 (en) Validating content of localization data files
CN1938673A (en) System and method fro dynamically generating a selectable search extension
CN107783786B (en) Method and device for creating equipment resources
CN110851326A (en) Point burying method, data acquisition method and device
CN114416667A (en) Method and device for rapidly sharing network disk file, network disk and storage medium
CN109947635A (en) A kind of data reporting method, device, storage medium and terminal device
CN113657113A (en) Text processing method and device and electronic equipment
CN116048987A (en) Processing method, device, electronic equipment, system and storage medium for flow business
CN110287338B (en) Industry hotspot determination method, device, equipment and medium
US20140373033A1 (en) Electronic device and method for launching an application installed in the same through address information
CN110888953B (en) Region information input method and device
CN113590756A (en) Information sequence generation method and device, terminal equipment and computer readable medium
US8589492B2 (en) Electronic message object drop feature
CN112966011A (en) Data display method and device, electronic equipment and medium
CN105302857A (en) Method and equipment providing contact person information
US12111836B2 (en) Generating consolidated visual representations for user journeys via profile tracing
CN110297575B (en) Page display method and device, terminal equipment and storage medium
CN110647537A (en) Data searching method, device and storage medium
CN114035729B (en) Electronic voting method and device and terminal equipment
CN114237588A (en) Code warehouse selection method, device, equipment and storage medium
CN115016775A (en) Interface simulation method and device, storage medium and electronic equipment
CN114595391A (en) Data processing method and device based on information search and electronic equipment
US20180349497A1 (en) System and method for directed analysis of content using artifical intelligence for storage and recall
CN113434432A (en) Performance test method, device, equipment and medium for recommendation platform
CN113918796A (en) Information searching method, device, server 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