Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all 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 application.
As shown in fig. 1, a method for determining type information in an embodiment of the present application includes:
step 100, selecting a data model from a data model set according to key information of an object input by a user, wherein the data model comprises type information and attribute information;
step 101, screening the data model according to attribute information selected by a user;
and 102, taking the type information in the screened data model as the type information of the object.
According to the method and the device, the data model is selected from the data model set according to the key information of the object input by the user, and the data model is screened according to the attribute information selected by the user; and taking the type information in the screened data model as the type information of the object. The type information of the object can be determined according to the key information of the object input by the user, so that the type information of the object does not need to be determined manually, and the object classification efficiency is improved.
The object of the embodiment of the present application may be any object having physical characteristics, such as clothes, electronic devices, and the like.
The application scenario of the embodiment of the present application may be any scenario that needs to classify an object, such as an import-export customs scenario.
The type information may be different for different application scenarios, for example, for an import/export customs clearance scenario, the type information may be HSCODE, and the data model may be HSPM (customs standard product model).
The attribute information of the embodiment of the present application is an attribute related to an object. The content of the attribute information is different for different objects, for example, if the object is a transformer, the attribute information may include a rated capacity, whether the liquid medium is present, and the like.
Optionally, each data model of the embodiment of the present application includes one type information and at least one attribute information. The attribute information included in each data model is related data-based information of the object of the type to which the data model corresponds.
The embodiment of the application is applied to the scene of import and export customs clearance. Assuming the object is a transformer, the data model may include the contents of table 1:
HSCODE
|
8504210000
|
name of article
|
Transformer device
|
Brand
|
CANIN
|
Model number
|
s9-m
|
Rated capacity
|
100 kilovoltAn
|
Whether a liquid medium
|
Liquid medium |
TABLE 1
The data model of table 1 includes 1 type information and 5 attribute information.
Also for example, the specific information of the object can be seen in table 2:
TABLE 2
The data model of table 3 can be obtained from the specific information of the objects of table 2, and each row in table 3 is a data model.
TABLE 3
Each data model corresponds to a set of key information, which includes description information of objects related to the data model.
The key information set has the function of being related to the corresponding data model according to the key information input by the user.
Optionally, when a data model is selected from the data model set according to the key information of the object input by the user, the key information set corresponding to each data model in the data model set is determined, and the data model set corresponding to the key information set matched with the key information of the object input by the user is selected.
Specifically, after the user inputs the key information, word segmentation operation is performed on the key information input by the user, the information after word segmentation is matched with the key information set corresponding to each data model, a matched key information set is found, and the data model corresponding to the matched key information set is selected from the data model sets.
The embodiment of the application is applied to the scene of import and export customs clearance. Assuming that a total of 3 data models exist, the key information in the key information set corresponding to the data model A is variable voltage and current; the key information in the key information set corresponding to the data model B is variable voltage and on-off; and the key information in the key information set corresponding to the data model C is cotton and hemp.
And (3) when a user inputs the direct current transformer, performing word segmentation operation on the direct current transformer input by the user to obtain direct current and a transformer, and respectively matching the direct current and the transformer with the data model A, the data model B and the data model C, wherein the data model A and the data model B comprise transformation and are matched with the transformer obtained by word segmentation, so that the data model A and the data model B are selected from the 3 data models according to the key information of the object input by the user.
After selecting a data model from the set of data models, the data model may be further filtered according to the attribute information selected by the user.
Optionally, when the data model is screened according to the attribute information selected by the user, the attribute information in the data model is pushed to the user;
screening the data model according to the attribute information selected by the user;
judging whether a data model is reserved after screening, and if so, determining that the screening is finished;
otherwise, returning to the step of pushing the attribute information in the selected data model to the user.
After the data model is selected from the data model set, the attribute information in the data model can be pushed to the user.
When pushing, only one attribute information is pushed to the same attribute information when pushing the attribute information to the user, because the attribute information included in different data models is likely to be the same.
Because the attribute information included in the data model contains attribute values, when pushing to a user, the data model can be divided and pushed in a mode of the same attribute and different values, and an optional pushing format is as follows:
key attribute 1: value 1, value 2, value 3 … …
Key attribute 2: value 1, value 2, value 3 … …
Key attribute 3: value 1, value 2, value 3 … …
The embodiment of the application is applied to the scene of import and export customs clearance. For example, the data model selected from the set of data models includes 5 of table 4:
TABLE 4
When attribute information is pushed to a user, the following information is pushed:
a transformer.
And (4) a generator set.
The prime mover type is composed of: compression ignition piston internal combustion engine
Whether it is a liquid medium: yes, no.
Rated capacity range: more than or equal to 500 megavolt-ampere; less than or equal to 1 kilovolt-ampere; more than 16 kilovolt-ampere and less than or equal to 500 kilovolt-ampere; more than 500 kilovolt-ampere; less than or equal to 75 kilovolt-ampere.
And after pushing the attribute information to the user, screening the data model according to the attribute information selected by the user.
Also taking table 4 as an example, assuming that the user selects the transformer after pushing and whether the user selects the transformer for the liquid medium, the data model which is selected to correspond to the transformer and is not the liquid medium is table 5:
TABLE 5
Since the number of data models that conform to the transformer and are not liquid media is not 1, it is also necessary to push attribute information in the data models of table 5 to the user, and when pushing attribute information to the user, the following information is pushed:
a transformer.
Whether it is a liquid medium: and no.
Rated capacity range: less than or equal to 1 kilovolt-ampere; more than 16 kilovolt-ampere and less than or equal to 500 kilovolt-ampere; > 500 kilovolt-ampere.
And after pushing the attribute information to the user, screening the data model according to the attribute information selected by the user.
Assuming that the user selects less than or equal to 1 kilovolt-ampere, the data model meeting the condition of less than or equal to 1 kilovolt-ampere after screening is shown in table 6:
transformer device
|
Whether or not it is a liquid medium
|
Whether or not
|
Rated capacity range
|
Less than or equal to 1 kilovolt-ampere
|
8504319000 |
TABLE 6
Since the number of data models corresponding to ≦ 1 kilovolt-ampere is 1, no further screening is required.
8504319000 in Table 6 is taken as the type information of the final object.
The embodiment of the application can also continuously update the data model with subsequent use (the updating comprises adding, modifying and deleting).
The number of the data models is increased along with the increasing number of the objects, so that after key information of the objects is input by a user, a data model set can be determined first, and the data models are selected from the data model set.
Specifically, after the key information of the object is input by the user, a part or all of the data models are selected from all the data models to form a data model set according to the attribute information of the user.
The specific content of the attribute information is different for different application scenarios. Taking the application of the embodiment of the present application to the import/export customs clearance scenario as an example, the attribute information of the user includes but is not limited to part or all of the following information:
1. the company of the user belongs to the industry and the operation range.
2. The user has historically exported merchandise information.
In implementation, when a data model set is formed by selecting part or all data models from all data models according to the attribute information of the user, the associated HSCODEs can be obtained according to the industry to which the company of the user belongs, the operation range and/or the commodity information of historical export, so that the corresponding data models can be determined according to the associated HSCODEs, and the data model set is formed.
Because the number of the data models selected from the data model set by different key information is different, if the number of the data models is very large, the number of the attribute information pushed to the user is also very large, and if the attribute information required to be selected by the user is at the position behind all the attribute information, the user needs to check most of the attribute information to find the attribute information required by the user.
Based on this, in order to further improve efficiency, in the embodiment of the present application, when pushing attribute information for a user, the attribute information may be sorted according to behavior data of the user, and then pushed to the user according to a sorting order.
Specifically, according to the behavior data of the user, determining target attribute information from attribute information in a selected data model;
and arranging the target attribute information in front of the non-target attribute information, and pushing the ordered attribute information to the user.
The behavior data of the user is related to the user and can be used for determining the target attribute information, wherein the acquired behavior data of the user is different in different application scenes.
The embodiment of the application is applied to the scene of import and export customs clearance. User behavior data includes, but is not limited to, some or all of the following:
1. data relating to the user's business scope:
for example, the association relationship between the type information and the industry can be established in advance, the corresponding type information can be determined according to the operation range of the user, and the data model containing the determined type information is used as the target data model.
2. Historical data of user exits:
determining type information associated with historical data of the user exit, and taking a data model containing the determined type information as a target data model.
3. Network behavior data of the user:
for example, after the user previously inputs the keyword a, the data model 1 in the recommendation list is finally selected. And if the user subsequently inputs the keyword A, taking the data model 1 as a target data model.
It should be noted that, the above 3 ways are only examples, and the purpose of using the behavior data of the user is to predict the data model that the user may select, so any data capable of predicting the data model that the user may select may be used as the behavior data of the user in the embodiment of the present application.
There are many ways to establish the data model of the embodiment of the present application, and the following are listed as some:
the method comprises the first establishing mode that a data model is generated according to historical data used for determining type information.
The embodiment of the application is applied to the scene of import and export customs clearance. The historical data may be real customs clearance merchandise data, such as historical merchandise data associated on import and export customs clearance notes.
The real customs commodity data comprises the attribute information of the commodity and the corresponding HSCODE, so that a data model can be generated according to the customs commodity data.
And a second establishing mode, namely generating a data model according to the information which is input by the user and is related to the object.
The embodiment of the application is applied to the scene of import and export customs clearance. As shown in fig. 2, in the figure, the prequalification specialist maintains the attribute information of the object, stores the attribute information in the HSPM library, and can update the attribute information in the HSPM library according to the newly added object in the commodity library;
and determining the corresponding HSCODE for the object and storing the HSCODE in the coding attribute library.
And (3) associating the attribute information in the HSPM library with the HSCODE in the coding attribute library to form a data model, and using the data model in self-service classification.
After self-help classification, the data models in the product library can be screened, and finally the type information of the object is obtained and added into the commodity library.
And a third establishing mode, namely generating a data model through the information which is acquired from other platforms and is related to the object.
The embodiment of the application can acquire the information related to the object through other platforms. The same applies to the application platforms where different application scenarios can obtain relevant information.
The embodiment of the application is applied to the scene of import and export customs clearance. Other platforms may be e-commerce platforms, including but not limited to some or all of the following:
tanbao, Aliexpress (quick ball), clap, Jingdong, suning, Amazon, ebay, 1688.
The following further describes the scheme of the embodiment of the present application with a set of schematic page views displayed for the user.
Fig. 3A is a schematic diagram of content displayed after a user inputs a transformer, and it can be seen from the diagram that after the user inputs the transformer, the following information is pushed to the user: the name of the product; whether or not it is a liquid medium; a rated capacity range; corresponding object type
FIG. 3B is a diagram of what the user displays after selecting the brand name and the liquid medium, including the brand name being the transformer, being the liquid medium, and the range of rated capacity amounts that can be selected; a corresponding data model.
FIG. 3C is a graph of what the user displays after selecting a rated capacity range of 650 kVorons or less; the corresponding object type. The determination process may end because the user has only one data model left after selecting the rated capacity range, and the user may have a unique object type after clicking on the data model.
Taking an example that the embodiment of the present application is applied to a scenario of import/export customs clearance, the functions that can be implemented by the embodiment of the present application can be seen in fig. 4.
In fig. 4, the embodiment of the present application includes a type determination function, a learning function, a calculation function, and an auxiliary function.
The type determining function may determine the type of the commodity according to the HSPM model, and determine whether to admit the commodity into inventory commodities according to a determination result.
The learning function is used to provide data support for determining the type of goods.
The learning functions can be further divided into services and data:
the services are further classified into search recommendation, intelligent error correction, commodity classification, and personalization.
The function of the search recommendation is mainly search prompt, and the search prompt is given before the user inputs the information completely. Such as user 'hand', real-time recommendation of 'cell phone', 'gloves', etc.
The intelligent error correction comprises character error correction, for example, input 'hand several' can be intelligently corrected into 'mobile phone', synonym standardization, for example, 'bicycle' can be intelligently corrected into 'bicycle'.
The commodity classification service is an extension of self-service classification, and directly recommends type information (or a type information list) according to key information input by a customer, for example, if the key information input by a user is clothes, the type information of an object related to the clothes can be directly recommended to the user.
The personalization is used for assisting in recommending the data model according to the industry to which the user belongs, historical export records and historical behavior operation records.
The data is further divided into knowledge base, behavior base, synonyms, brand base, industry base, HSPM and HSCODE.
The knowledge base is used for maintaining the association relationship between the dimension data, such as the maintenance of industry and HSCODE, brand and HSCODE and FAQ information.
The behavior library mainly maintains the behavior operation records of the users.
Synonyms refer to a Chinese synonym library, and the association relationship among synonyms is maintained.
The brand library primarily maintains information related to intellectual property rights.
The industry base mainly maintains basic industry information, such as industry standards, products and brands related to the industry and the like.
HSPM is a standard product model of customs, namely a data model.
The HSCODE is basic data of customs codes and comprises customs clauses, tax rate, supervision conditions and other information.
The computing functions include real-time computing and offline computing.
The real-time calculation and the off-line calculation are mainly used to form the above various basic data.
Real-time computing is the main maintenance of HSPM, HSCODE and brand library incremental data.
The off-line calculation is mainly used for maintaining original data such as HSPM, HSCODE, industry libraries, brand libraries and the like, and calculating the association relationship among the original data and the original data to form a knowledge base.
Ancillary functions include HSCODE, open services, attribute rules, and coding features.
The HSCODE is the customs code, the maintenance code and the article, and the declaration element attribute of which customs code is contained under the HSCODE.
The open service refers to the opening of the HSCODE basic information service, such as HSCODE, attribute rules of HSCODE, and the opening of the encoding characteristic information service for a third party.
The attribute rule refers to a rule constraint on the attribute value of the declaration element related below the HSCODE after the HSCODE is determined. Such as what the value units corresponding to certain attributes are, whether only numbers can be filled, or enumerated values, etc.
The coding features are the extended information on HSCODE, such as tax rate, import and export supervision conditions, legal unit, whether 3C is available, customs regulation explanation, etc.
Based on the same inventive concept, the embodiment of the present application further provides a system for determining type information, and as the principle of solving the problem of the system is similar to the method for determining type information in the embodiment of the present application, the implementation of the system may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 5, a system for determining type information according to an embodiment of the present application includes:
a selection module 500, configured to select a data model from a data model set according to key information of an object input by a user, where the data model includes type information and attribute information;
a screening module 501, configured to screen the data model according to attribute information selected by a user;
the processing module 502 is configured to use the type information in the data model retained after the screening as the type information of the object.
The object of the embodiment of the present application may be any object having physical characteristics, such as clothes, electronic devices, and the like.
The application scenario of the embodiment of the present application may be any scenario that needs to classify an object, such as an import-export customs scenario.
The type information may be different for different application scenarios, for example, for an import/export customs clearance scenario, the type information may be HSCODE, and the data model may be HSPM (customs standard product model).
The attribute information of the embodiment of the present application is an attribute related to an object. The content of the attribute information is different for different objects, for example, if the object is a transformer, the attribute information may include a rated capacity, whether the liquid medium is present, and the like.
Optionally, the selecting module 500 is specifically configured to:
determining a key information set corresponding to each data model in the data model set;
and selecting a data model set corresponding to the key information set matched with the key information of the object input by the user.
Each data model corresponds to a set of key information, which includes description information of objects related to the data model.
The key information set has the function of being related to the corresponding data model according to the key information input by the user.
Optionally, the selecting module 500 is further configured to:
and after key information of the object is input by the user, selecting part or all of the data models from all the data models to form a data model set according to the attribute information of the user.
The embodiment of the application is applied to the scene of import and export customs clearance. Assuming that a total of 3 data models exist, the key information in the key information set corresponding to the data model A is variable voltage and current; the key information in the key information set corresponding to the data model B is variable voltage and on-off; and the key information in the key information set corresponding to the data model C is cotton and hemp.
And (3) when a user inputs the direct current transformer, performing word segmentation operation on the direct current transformer input by the user to obtain direct current and a transformer, and respectively matching the direct current and the transformer with the data model A, the data model B and the data model C, wherein the data model A and the data model B comprise transformation and are matched with the transformer obtained by word segmentation, so that the data model A and the data model B are selected from the 3 data models according to the key information of the object input by the user.
After selecting a data model from the set of data models, the data model may be further filtered according to the attribute information selected by the user.
Optionally, the screening module 501 is specifically configured to:
pushing the attribute information in the data model to a user;
screening the data model according to the attribute information selected by the user;
judging whether a data model is reserved after screening, and if so, determining that the screening is finished;
otherwise, returning to the step of pushing the attribute information in the selected data model to the user.
After the data model is selected from the data model set, the attribute information in the data model can be pushed to the user.
When pushing, only one attribute information is pushed to the same attribute information when pushing the attribute information to the user, because the attribute information included in different data models is likely to be the same.
Because the number of the data models selected from the data model set by different key information is different, if the number of the data models is very large, the number of the attribute information pushed to the user is also very large, and if the attribute information required to be selected by the user is at the position behind all the attribute information, the user needs to check most of the attribute information to find the attribute information required by the user.
Based on this, in order to further improve efficiency, in the embodiment of the present application, when pushing attribute information for a user, the attribute information may be sorted according to behavior data of the user, and then pushed to the user according to a sorting order.
Optionally, the screening module 501 is specifically configured to:
when the attribute information in the selected data model is pushed to a user, determining target attribute information from the attribute information in the selected data model according to the behavior data of the user;
and arranging the target attribute information in front of the non-target attribute information, and pushing the ordered attribute information to the user.
Optionally, the data model is obtained by part or all of the following methods:
generating a data model according to the information related to the object input by the user;
generating a data model according to historical data used for determining type information;
the data model is generated from information relating to the object obtained from other platforms.
In implementation, the modules may be integrated into one entity or distributed in multiple entities; the functions of each module may be implemented by one device, or may be implemented by cooperation of a plurality of devices.
As shown in fig. 6, a method for determining a customs code according to an embodiment of the present application includes:
step 600, displaying at least one piece of commodity information matched with the key information of the commodity input by the user to the user, wherein the commodity information comprises commodity parameters and customs codes;
601, after the user selects commodity parameters from the displayed commodity information, reserving the commodity information containing the selected commodity parameters from the displayed commodity information;
step 602, after the screening condition is met, determining a customs code corresponding to the commodity according to the customs code in the displayed commodity information.
The effect of the commodity information in the embodiment of the present application may refer to the description of the data model in fig. 1, and the commodity parameters in the embodiment of the present application may refer to the description of the type information in fig. 1, which is not described herein again.
The process of determining at least one piece of commodity information matched with the key information of the commodity input by the user in the embodiment of the application is similar to the process of selecting a data model from the data model set according to the key information of the object input by the user in fig. 1, and is not repeated herein.
After the commodity information is displayed to the user, the user selects the commodity parameters in the commodity information.
The user may select one commodity parameter at a time or may select a plurality of commodity parameters.
And only keeping the commodity information containing the commodity parameters selected by the user on the displayed page and deleting other commodity information as long as the user selects the commodity parameters.
Since the product parameters included in different product information may be partially the same, there may be a case where a plurality of product information are retained, and at this time, the user may continue to select product parameters until the filtering condition is satisfied.
Optionally, the screening conditions of the embodiments of the present application include, but are not limited to, some or all of the following:
the quantity of the displayed commodity information reaches a set threshold value;
the user does not select the commodity parameters from the displayed commodity information within the set time length.
The number of the threshold values may be set as needed, for example, 1 may be set, so that only after the displayed commodity information is 1, the customs code corresponding to the commodity is determined according to the customs code in the displayed commodity information.
The set time period can also be set according to needs.
Optionally, when determining the customs code corresponding to the commodity according to the customs code in the displayed commodity information, the customs code in the displayed commodity information may be used as the customs code corresponding to the commodity; or
And taking the customs code in the displayed commodity information selected by the user as the customs code corresponding to the commodity.
If the number of the customs codes in the displayed commodity information is 1, the customs codes in the displayed commodity information can be directly used as the customs codes corresponding to the commodity;
if the number of the customs codes in the displayed commodity information is multiple, the user can be prompted to select one customs code, and the customs code in the displayed commodity information selected by the user is used as the customs code corresponding to the commodity.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the subject application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.