CN105893187B - A kind of mirror image data generation method and electronic equipment - Google Patents
A kind of mirror image data generation method and electronic equipment Download PDFInfo
- Publication number
- CN105893187B CN105893187B CN201610207624.XA CN201610207624A CN105893187B CN 105893187 B CN105893187 B CN 105893187B CN 201610207624 A CN201610207624 A CN 201610207624A CN 105893187 B CN105893187 B CN 105893187B
- Authority
- CN
- China
- Prior art keywords
- data
- cargo
- type
- describing
- reading
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
Abstract
The invention discloses a kind of mirror image data generation method and electronic equipments, belong to computer field.The described method includes: obtaining the data type for the data that at least one data source is provided for describing cargo;The corresponding data reading mode of the data type is searched from the corresponding data reading mode of multiple data types of storage;According to the corresponding data reading mode of the data type, data available is read from the data for describing cargo;According to the data available, the mirror image data for describing the acquisition is generated.The present invention is used to describe the data of cargo by providing an at least data source, generates mirror image data, avoid the difference as data type and caused by data processing inconvenience, improve Data Data treatment effeciency.
Description
Technical field
The present invention relates to computer field, in particular to a kind of mirror image data generation method and electronic equipment.
Background technique
It is well known that the Accuracy and high efficiency of data management is most important in logistics management, e-commerce, it is traditional
It is low using labor management database efficiency and may inaccuracy, so more and more enterprise begin to use computer logarithm it is believed that
Breath is managed.
In the prior art the update of database is based on carrying out in the case of local is identical as data type, in multiple database
Under interactive scene, data are updated since data type difference causes the prior art cannot achieve.Due to data base set
System has certain requirement to the format of data, and different types of business may may require that when data input by data processing,
The data format that Database Systems can be read is changed into, it is low to will lead to data-handling efficiency in this way.
Summary of the invention
In order to improve data-handling efficiency, the embodiment of the invention provides a kind of mirror image data generation methods and electronics to set
It is standby.The technical solution is as follows:
In a first aspect, providing a kind of mirror image data generation method, which comprises
Obtain the data type for the data that at least one data source is provided for describing cargo;
The corresponding data of the data type are searched from the corresponding data reading mode of multiple data types of storage to read
Take mode;
According to the corresponding data reading mode of the data type, read from the data for describing cargo available
Data;
According to the data available, the mirror image data for describing the cargo is generated.
With reference to first aspect, in the first mode in the cards, acquisition the provided use of at least one data source
Include: in the data type of the data of description cargo
It reads for describing data type field included by the data of cargo;
According to the data type field, parse described for describing the data type of the data of cargo.
With reference to first aspect the first mode in the cards, it is described from depositing in second of mode in the cards
Searching the corresponding data reading mode of the data type in the corresponding data reading mode of multiple data types of storage includes:
It is described for describing the data type of the data of cargo to determine whether system is pre-configured with;
If so, according to the data type field, from the corresponding data reading mode of multiple data types of storage
Search the corresponding data reading mode of the data type.
The mode in the cards of second with reference to first aspect, in the third mode in the cards, the basis
The corresponding data reading mode of the data type, reading data available from the data for describing cargo includes:
According to the corresponding data reading mode of the data type, read described for describing the data of cargo;
According to described for describing the data of cargo, the type of the cargo is determined;
Reading rule corresponding with the type of the cargo is obtained from system;
According to the reading rule, the data available is read from the data for describing cargo.
The third mode in the cards with reference to first aspect, in the 4th kind of mode in the cards, the basis
The data available, generating the mirror image data for describing the cargo includes:
Other data included by the data for being used to describe cargo in addition to the data available are generated into description
Data;
According to the description data and the data available, the mirror image data is generated.
Second aspect, provides a kind of electronic equipment, and the equipment includes:
Data type obtains module, provides the data of the data for describing cargo for obtaining at least one data source
Type;
Data reading mode searching module, for being searched from the corresponding data reading mode of multiple data types of storage
The corresponding data reading mode of the data type;
Data available read module, for being used to retouch from described according to the corresponding data reading mode of the data type
It states and reads data available in the data of cargo;
Mirror image data generation module, for generating the mirror image data for describing the acquisition according to the data available.
In conjunction with second aspect, in the first mode in the cards, the data type obtains module and includes:
Data type field reading submodule, for reading data class type-word included by the data for describing cargo
Section;
Data type analyzing sub-module, it is described for describing cargo for parsing according to the data type field
The data type of data.
In conjunction with the first mode in the cards of second aspect, in second of mode in the cards, the data
Reading manner searching module includes:
Data type, which configures, determines submodule, and whether the system that determines is pre-configured with described for describing the number of the data of cargo
According to type;
Data reading mode search submodule, for when data type configure determine submodule determination be when, according to described
Data type field searches the corresponding number of the data type from the corresponding data reading mode of multiple data types of storage
According to reading manner.
It is described to use in the third mode in the cards in conjunction with second of mode in the cards of second aspect
Data read module includes:
Cargo data reading submodule, for reading the use according to the corresponding data reading mode of the data type
In the data of description cargo;
Cargo type determines submodule, for, for describing the data of cargo, determining the type of the cargo according to described;
Cargo reads Rule submodule, for obtaining reading rule corresponding with the type of the cargo from system
Then;
Data available reading submodule, for being read from the data for describing cargo according to the reading rule
Take the data available.
In conjunction with the third mode in the cards of second aspect, in the 4th kind of mode in the cards, the mirror image
Data generation module includes:
It describes data and generates submodule, for the data available will to be removed included by the data for being used to describe cargo
Except other data generate description data;
Mirror image data generates submodule, for generating the mirror image number according to the description data and the data available
According to.
The third aspect provides a kind of electronic equipment, and the electronic equipment includes memory, and connects with the memory
The processor connect, wherein the memory is used to store a set of program code, and the processor calls the memory to be stored
Program code for performing the following operations:
Obtain the data type for the data that at least one data source is provided for describing cargo;
The corresponding data of the data type are searched from the corresponding data reading mode of multiple data types of storage to read
Take mode;
According to the corresponding data reading mode of the data type, read from the data for describing cargo available
Data;
According to the data available, the mirror image data for describing the cargo is generated.
In conjunction with the third aspect, in the first mode in the cards, the processor calls the memory to be stored
Program code for performing the following operations:
It reads for describing data type field included by the data of cargo;
According to the data type field, parse described for describing the data type of the data of cargo.
In conjunction with the first mode in the cards of the third aspect, in second of mode in the cards, the processing
The program code that device calls the memory to be stored is for performing the following operations:
It is described for describing the data type of the data of cargo to determine whether system is pre-configured with;
If so, according to the data type field, from the corresponding data reading mode of multiple data types of storage
Search the corresponding data reading mode of the data type.
In conjunction with second of mode in the cards of the third aspect, in the third mode in the cards, the processing
The program code that device calls the memory to be stored is for performing the following operations:
According to the corresponding data reading mode of the data type, read described for describing the data of cargo;
According to described for describing the data of cargo, the type of the cargo is determined;
Reading rule corresponding with the type of the cargo is obtained from system;
According to the reading rule, the data available is read from the data for describing cargo.
In conjunction with the third mode in the cards of the third aspect, in the 4th kind of mode in the cards, the processing
The program code that device calls the memory to be stored is for performing the following operations:
Other data included by the data for being used to describe cargo in addition to the data available are generated into description
Data;
According to the description data and the data available, the mirror image data is generated.
Fourth aspect provides a kind of mirror image data generation system, the system comprises:
Data type obtains equipment, provides the data of the data for describing cargo for obtaining at least one data source
Type;
Data reading mode searches equipment, for searching from the corresponding data reading mode of multiple data types of storage
The corresponding data reading mode of the data type;
Data available reads equipment, for being used to retouch from described according to the corresponding data reading mode of the data type
It states and reads data available in the data of cargo;
Mirror image data generating device, for generating the mirror image data for describing the acquisition according to the data available.
In conjunction with fourth aspect, in the first mode in the cards, the data type obtains equipment and includes:
Data type field reads sub- equipment, for reading data class type-word included by the data for describing cargo
Section;
Data type parses sub- equipment, described for describing cargo for parsing according to the data type field
The data type of data.
In conjunction with the first mode in the cards of fourth aspect, in second of mode in the cards, the data
Reading manner searches equipment
Data type configures true stator-device, and whether the system that determines is pre-configured with described for describing the number of the data of cargo
According to type;
Data reading mode searches sub- equipment, for when data type configure true stator-device determination be when, according to described
Data type field searches the corresponding number of the data type from the corresponding data reading mode of multiple data types of storage
According to reading manner.
It is described to use in the third mode in the cards in conjunction with second of mode in the cards of fourth aspect
Reading data equipment includes:
Cargo data reads sub- equipment, for reading the use according to the corresponding data reading mode of the data type
In the data of description cargo;
The true stator-device of cargo type, for, for describing the data of cargo, determining the type of the cargo according to described;
Cargo reads the sub- equipment of Rule, for obtaining reading rule corresponding with the type of the cargo from system
Then;
Data available reads sub- equipment, for being read from the data for describing cargo according to the reading rule
Take the data available.
In conjunction with the third mode in the cards of fourth aspect, in the 4th kind of mode in the cards, the mirror image
Data generating apparatus includes:
It describes data and generates sub- equipment, for the data available will to be removed included by the data for being used to describe cargo
Except other data generate description data;
Mirror image data generates sub- equipment, for generating the mirror image number according to the description data and the data available
According to.
The invention discloses a kind of mirror image data generation method and electronic equipments, which comprises obtains at least one
Data source provides the data type of the data for describing cargo;From the corresponding reading data side of multiple data types of storage
The corresponding data reading mode of the data type is searched in formula;According to the corresponding data reading mode of the data type, from
Data available is read in the data for describing cargo;According to the data available, generate for describing the cargo
Mirror image data.The present invention is used to describe the data of cargo by providing an at least data source, generates mirror image data, avoids
As data type difference and caused by data processing inconvenience, improve Data Data treatment effeciency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of mirror image data generation method flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of mirror image data generation method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of electronic equipment structural schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of electronic equipment structural schematic diagram provided in an embodiment of the present invention
Fig. 5 is that a kind of mirror image data provided in an embodiment of the present invention generates system schematic.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this
Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist
Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of mirror image data generation method, this method is applied to different in a variety of data formats
Database interconnection and realize under the scene of data interaction according to the different types of logistics number from multiple databases
According to generation mirror image data.In addition to this, this method can also be applied to during e-commerce, flat in multiple e-commerce
Under the scene of platform interconnection and progress data interaction, alternatively, being interconnected in multiple commodity storage systems and carrying out the scene of data interaction
Under, it realizes according to the different types of commodity data from multiple e-commerce platforms or commodity management system, generates mirror image
Data, the merchandise news can be order information corresponding with commodity, the storage information etc. of commodity.
Embodiment one is a kind of mirror image data generation method provided in an embodiment of the present invention, shown referring to Fig.1, the method
Process includes:
101, the data type for the data that at least one data source is provided for describing cargo is obtained.
Specifically, the process may include:
It reads for describing data type field included by the data of cargo;
According to the data type field, parse described for describing the data type of the data of cargo.
102, the corresponding number of the data type is searched from the corresponding data reading mode of multiple data types of storage
According to reading manner.
Specifically, the process may include:
It is described for describing the data type of the data of cargo to determine whether system is pre-configured with;
If so, according to the data type field, from the corresponding data reading mode of multiple data types of storage
Search the corresponding data reading mode of the data type.
103, it according to the corresponding data reading mode of the data type, is read from the data for describing cargo
Data available.
Specifically, the process may include:
According to the corresponding data reading mode of the data type, read described for describing the data of cargo;
According to described for describing the data of cargo, the type of the cargo is determined;
Reading rule corresponding with the type of the cargo is obtained from system;
According to the reading rule, the data available is read from the data for describing cargo.
104, according to the data available, the mirror image data for describing the cargo is generated.
Specifically, the process may include:
Other data included by the data for being used to describe cargo in addition to the data available are generated into description
Data;
According to the description data and the data available, the mirror image data is generated.
The invention discloses a kind of mirror image data generation methods, are used to describe goods by providing an at least data source
The data of object generate mirror image data, avoid the difference as data type and caused by data processing inconvenience, improve number
According to data-handling efficiency.
Embodiment two is a kind of mirror image data generation method provided in an embodiment of the present invention, referring to shown in Fig. 2, the method
Process includes:
201, it reads for describing data type field included by the data of cargo.
Specifically, parsing to the data for describing cargo, data class is determined from the data for describing cargo
Type-word section;
Read the data type field.
In addition to this, if data type field it is non-readable or damage, can also by following operation at least
One, realize the process of above-mentioned data type field:
Determine that this is used to describe sender's data of the data of cargo;
All data being transmitted across of the sender are obtained from historical data;
The data for being used to describe cargo are compared with all data being transmitted across of sender, obtain and are used to describe
The data type field of the similar data of the data of cargo is for describing data type field included by the data of cargo.Or
Person,
Pre-set multiple data types are matched with the data for being used to describe cargo;
Determine that the highest data type of matching degree is the data type for describing the data of cargo;
Determine that the highest data type field of the matching degree is for describing data class type-word included by the data of cargo
Section.
The above process can be to be realized in such a way that system default configures, and the embodiment of the present invention is to specific reading side
Formula is not limited.
By data type field it is non-readable or damage under, by this be used to describe cargo data and sender institute
There are the data being transmitted across to compare, obtain with the data type field for describing the similar data of the data of cargo be for
Data type field included by the data of cargo is described.Alternatively, determine the highest data type field of the matching degree be for
Data type field included by the data of cargo is described, realizes and reads for describing data type included by the data of cargo
Field, so as to avoid as data type field and caused by data-handling efficiency reduction, to further improve number
According to data-handling efficiency.
202, according to data type field, the data type of the data for describing cargo is parsed.
Specifically, the process can be the analytical algorithm realization configured by system default, the embodiment of the present invention is to tool
The analysis mode of body is not limited.
In addition, acceptable basis should if can not parse data type field by the analytical algorithm that system default configures
Data type field can parse the analytical algorithm of the data type field from network side downloading.
It should be noted that step 201 to step 202 is to realize that obtaining at least one data source is provided for describing goods
The process of the data type of the data of object can also realize the process other than aforesaid way by other means, the present invention
Embodiment is not limited specific mode.
203, the corresponding data of data type are searched from the corresponding data reading mode of multiple data types of storage to read
Take mode.
Specifically, the process includes:
It is described for describing the data type of the data of cargo to determine whether system is pre-configured with, which can be with are as follows:
According to the data type of data, searching in the preconfigured multiple data types of system whether there is and the data class
The corresponding data type of type, wherein data type corresponding with the data type includes number identical with the data type
According to type or the data type compatible with the data type.
Optionally, however, it is determined that system is pre-configured with the data type of the data for being used to describe cargo, but due to system
Preconfigured data type version is lower, and leads to not read, then downloads more new version from network side.
If so, according to the data type field, from the corresponding data reading mode of multiple data types of storage
The corresponding data reading mode of the data type is searched, the embodiment of the present invention is not limited specific reading manner.
204, according to the corresponding data reading mode of data type, the data for describing cargo are read.
Specifically, the data for describing cargo are used to indicate type belonging to cargo and specific cargo.
The embodiment of the present invention is not limited specific reading manner.
205, according to the data for describing cargo, the type of cargo is determined.
Specifically, being parsed to the data for being used to describe cargo, obtains type belonging to the cargo and description should
The data of specific cargo, the data for describing the specific cargo can be size, color, parameter and the production firm's information of cargo
Etc. data, above-mentioned data be only exemplary, the embodiment of the present invention is to specific data without limiting and enumerating.
Illustratively, it is assumed that the cargo is clothes, then the data for describing the specific cargo can be the color of clothes, figure
Piece, size, material, production firm and other data.Type belonging to the clothes can be clothes;
Assuming that the cargo is electric appliance, then the data for describing the specific cargo can be the color of electric appliance, size, picture,
Configuration parameter, material, production firm and other data, type belonging to the electric appliance can be electronic product.
By determining the type of cargo, allowing to the type according to the cargo according to the data for describing cargo, into
The corresponding reading data of row and processing, compared to directly carrying out reading data and processing to the data for describing cargo, so that
Desired data can be more accurately obtained, to further improve Data Data treatment effeciency.
206, reading rule corresponding with the type of cargo is obtained from system.
Specifically, reading rule corresponding with the type of the cargo is opposite with the description data type of data of cargo
It answers, acquisition modes include obtaining from network side and reading any one in two ways from local.
Illustratively, by taking the type of cargo is clothes as an example, then reading rule corresponding with clothes can be with are as follows:
It reads in the data of description cargo for describing the number of color, picture, size, material, production firm of clothes etc.
According to.
By taking the type of cargo is electronic product as an example, then reading rule corresponding with electronic product can be with are as follows:
It reads in the data of description cargo for describing color, size, picture, configuration parameter, the material, factory of electric appliance
The data of quotient etc..
Data difference is described as required for different cargos, it is corresponding with the type of cargo by being obtained from system
Rule is read, the type for different cargos is realized, the reading of data is carried out according to different reading rules, so as to
Desired data are more accurately obtained, to further improve Data Data treatment effeciency.
207, according to rule is read, data available is read from the data for describing cargo.
Specifically, reading the typing data of the cargo from the data for describing cargo according to rule is read
And description data, the embodiment of the present invention are not limited specific reading manner.
It should be noted that step 204 to step 207 is realized according to the corresponding reading data side of the data type
Formula, the process that data available is read from the data for describing cargo can also pass through it other than aforesaid way
His mode realizes that the process, the embodiment of the present invention are not limited specific mode.
208, according to the data available, the mirror image data for describing the cargo is generated.
Specifically, the process may include:
Other data included by the data for being used to describe cargo in addition to the data available are generated into description
Data, the process can be with are as follows:
Retain other original data and corresponding reading manner, and prompt information will be generated according to the reading manner;
According to other data and prompt information data available, description data are generated.Alternatively,
Other data are converted into readable data, and according to the readable data, generate description data;
According to the description data and the data available, the mirror image data is generated.
In practical applications, data available can be generated into the mirror image data for describing the cargo.
It may be wrapped as described for describing other data included by the data of cargo in addition to the data available
Data or other data containing cargo management system before, the data may be available under other scenes, so, it is
The processing of data after convenience, by other included by the data for being used to describe cargo in addition to the data available
Data generate description data, to improve the efficiency of data processing.In addition, by retaining original other data and correspondence
Reading manner, generate prompt information;So that in subsequent Data processing the prompt information can be referred to, to improve
The efficiency of data processing.In addition, other data are converted into readable data, so that in subsequent Data processing, Ke Yican
The readable data is examined, to improve the efficiency of data processing.
Since the commodity management system of current logistic management system and shopping platform is more, and all use different data
Library, so that under the scene of more logistic management systems or commodity management system, it can be by the data type that database is supported
It is different and lead to not the data for being compatible with each logistic management system or commodity management system, to cannot achieve more logistics managements
The management of commodity under system or the scene of commodity management system;Alternatively, needing to each logistic management system or merchandise control system
The data of system format, and increase data processing amount, reduce data-handling efficiency, to increase merchandise control
Human cost and time cost, reduce the efficiency of merchandise control, and this through the embodiment of the present invention provided by method, pass through
The data of each logistic management system or commodity management system are read, mirror image data is generated and is mentioned to reduce data processing amount
The high compatibility of data-handling efficiency and logistic management system or commodity management system, to reduce the people of merchandise control
Power cost and time cost improve the efficiency of merchandise control.
The invention discloses a kind of mirror image data generation methods, are used to describe goods by providing an at least data source
The data of object generate mirror image data, avoid the difference as data type and caused by data processing inconvenience, improve number
According to data-handling efficiency.
Embodiment three is a kind of electronic equipment 3 provided in an embodiment of the present invention, and referring to shown in Fig. 3, the equipment includes:
Data type obtains module 31, provides the number of the data for describing cargo for obtaining at least one data source
According to type;
Data reading mode searching module 32, for being looked into from the corresponding data reading mode of multiple data types of storage
Look for the corresponding data reading mode of the data type;
Data available read module 33, for being used for from described according to the corresponding data reading mode of the data type
It describes to read data available in the data of cargo;
Mirror image data generation module 34, for generating the mirror image number for describing the acquisition according to the data available
According to.
Optionally, the data type acquisition module 31 includes:
Data type field reading submodule 311, for reading data type included by the data for describing cargo
Field;
Data type analyzing sub-module 312, it is described for describing cargo for parsing according to the data type field
Data data type.
Optionally, the data reading mode searching module 32 includes:
Data type, which configures, determines submodule 321, and whether the system that determines is pre-configured with described for describing the data of cargo
Data type;
Data reading mode search submodule 322, for when data type configure determine submodule determination be when, according to institute
Data type field is stated, it is corresponding to search the data type from the corresponding data reading mode of multiple data types of storage
Data reading mode.
Optionally, the data available read module 33 includes:
Cargo data reading submodule 331, for according to the corresponding data reading mode of the data type, described in reading
For describing the data of cargo;
Cargo type determines submodule 332, for, for describing the data of cargo, determining the class of the cargo according to described
Type;
Cargo reads Rule submodule 333, for obtaining reading corresponding with the type of the cargo from system
Rule;
Data available reading submodule 334, for regular according to the reading, from the data for describing cargo
Read the data available.
Optionally, the mirror image data generation module 34 includes:
It describes data and generates submodule 341, for that will can be used included by the data for being used to describe cargo except described
Other data except data generate description data;
Mirror image data generates submodule 342, for generating the mirror image according to the description data and the data available
Data.
The invention discloses a kind of electronic equipment, which is used to describe by providing an at least data source
The data of cargo generate mirror image data, avoid the difference as data type and caused by data processing inconvenience, improve
Data Data treatment effeciency.
Example IV is a kind of electronic equipment provided in an embodiment of the present invention, referring to shown in Fig. 4.The electronic equipment includes depositing
Reservoir 41, and the processor 42 being connect with the memory 41, wherein the memory 41 is for storing batch processing generation
Code, the program code that the processor 42 calls the memory 41 to be stored for performing the following operations:
Obtain the data type for the data that at least one data source is provided for describing cargo;
The corresponding data of the data type are searched from the corresponding data reading mode of multiple data types of storage to read
Take mode;
According to the corresponding data reading mode of the data type, read from the data for describing cargo available
Data;
According to the data available, the mirror image data for describing the cargo is generated.
Optionally, the program code that the processor 42 calls the memory 41 to be stored is for performing the following operations:
It reads for describing data type field included by the data of cargo;
According to the data type field, parse described for describing the data type of the data of cargo.
Optionally, the program code that the processor 42 calls the memory 41 to be stored is for performing the following operations:
It is described for describing the data type of the data of cargo to determine whether system is pre-configured with;
If so, according to the data type field, from the corresponding data reading mode of multiple data types of storage
Search the corresponding data reading mode of the data type.
Optionally, the program code that the processor 42 calls the memory 41 to be stored is for performing the following operations:
According to the corresponding data reading mode of the data type, read described for describing the data of cargo;
According to described for describing the data of cargo, the type of the cargo is determined;
Reading rule corresponding with the type of the cargo is obtained from system;
According to the reading rule, the data available is read from the data for describing cargo.
Optionally, the program code that the processor 42 calls the memory 41 to be stored is for performing the following operations:
Other data included by the data for being used to describe cargo in addition to the data available are generated into description
Data;
According to the description data and the data available, the mirror image data is generated.
The invention discloses a kind of electronic equipment, which is used to describe by providing an at least data source
The data of cargo generate mirror image data, avoid the difference as data type and caused by data processing inconvenience, improve
Data Data treatment effeciency.
Embodiment five is a kind of cargo management system based on mirror image data provided in an embodiment of the present invention, referring to Fig. 5 institute
Show, the system comprises:
Data type obtains equipment 51, provides the number of the data for describing cargo for obtaining at least one data source
According to type;
Data reading mode searches equipment 52, for looking into from the corresponding data reading mode of multiple data types of storage
Look for the corresponding data reading mode of the data type;
Data available reads equipment 53, for being used for from described according to the corresponding data reading mode of the data type
It describes to read data available in the data of cargo;
Mirror image data generating device 54, for generating the mirror image number for describing the acquisition according to the data available
According to.
Optionally, the data type acquisition equipment 51 includes:
Data type field reads sub- equipment 511, for reading data type included by the data for describing cargo
Field;
Data type parses sub- equipment 512, described for describing cargo for parsing according to the data type field
Data data type.
Optionally, the data reading mode lookup equipment 52 includes:
Data type configures true stator-device 521, and whether the system that determines is pre-configured with described for describing the data of cargo
Data type;
Data reading mode searches sub- equipment 522, for when data type configure true stator-device determination be when, according to institute
Data type field is stated, it is corresponding to search the data type from the corresponding data reading mode of multiple data types of storage
Data reading mode.
Optionally, the data available reading equipment 53 includes:
Cargo data reads sub- equipment 531, for according to the corresponding data reading mode of the data type, described in reading
For describing the data of cargo;
The true stator-device 532 of cargo type, for, for describing the data of cargo, determining the class of the cargo according to described
Type;
Cargo reads the sub- equipment 533 of Rule, for obtaining reading corresponding with the type of the cargo from system
Rule;
Data available reads sub- equipment 534, for regular according to the reading, from the data for describing cargo
Read the data available.
Optionally, the mirror image data generating device 54 includes:
It describes data and generates sub- equipment 541, for that will can be used included by the data for being used to describe cargo except described
Other data except data generate description data;
Mirror image data generates sub- equipment 542, for generating the mirror image according to the description data and the data available
Data.
The invention discloses a kind of mirror image datas to generate system, which is used for by providing an at least data source
Describe the data of cargo, generate mirror image data, avoid the difference as data type and caused by data processing inconvenience, mention
High Data Data treatment effeciency.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer
It repeats one by one.
It should be understood that electronic equipment provided by the above embodiment is when executing mirror image data generation method, only more than
The division progress of each functional module is stated for example, can according to need and in practical application by above-mentioned function distribution by difference
Functional module complete, i.e., the internal structure of equipment is divided into different functional modules, with complete it is described above whole or
Person's partial function.In addition, electronic equipment provided by the above embodiment and mirror image data generation method embodiment belong to same design,
Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of mirror image data generation method, which is characterized in that the described method includes:
Obtain the data type for the data that at least one data source is provided for describing cargo;
The corresponding reading data side of the data type is searched from the corresponding data reading mode of multiple data types of storage
Formula;
According to the corresponding data reading mode of the data type, number can be used by reading from the data for describing cargo
According to;
According to the data available, the mirror image data for describing the cargo is generated;
It is described according to the corresponding data reading mode of the data type, read from the data for describing cargo available
Data include:
According to the corresponding data reading mode of the data type, read described for describing the data of cargo;
According to described for describing the data of cargo, the type of the cargo is determined;
Reading rule corresponding with the type of the cargo is obtained from system;
According to the reading rule, the data available is read from the data for describing cargo.
2. the method according to claim 1, wherein described at least one data source of acquisition is provided for describing
The data type of the data of cargo includes:
It reads for describing data type field included by the data of cargo;
According to the data type field, parse described for describing the data type of the data of cargo.
3. according to the method described in claim 2, it is characterized in that, the corresponding data of multiple data types from storage are read
It takes and searches the corresponding data reading mode of the data type in mode and include:
It is described for describing the data type of the data of cargo to determine whether system is pre-configured with;
If so, being searched from the corresponding data reading mode of multiple data types of storage according to the data type field
The corresponding data reading mode of the data type.
4. generation is for describing the method according to claim 1, wherein described according to the data available
The mirror image data for stating cargo includes:
Other data included by the data for being used to describe cargo in addition to the data available are generated into description data;
According to the description data and the data available, the mirror image data is generated.
5. a kind of electronic equipment, which is characterized in that the equipment includes:
Data type obtains module, provides the data class of the data for describing cargo for obtaining at least one data source
Type;
Data reading mode searching module, described in being searched from the corresponding data reading mode of multiple data types of storage
The corresponding data reading mode of data type;
Data available read module, for being used to describe goods from described according to the corresponding data reading mode of the data type
Data available is read in the data of object;
Mirror image data generation module, for generating the mirror image data for describing the cargo according to the data available;
The data available read module includes:
Cargo data reading submodule, for reading described for retouching according to the corresponding data reading mode of the data type
State the data of cargo;
Cargo type determines submodule, for, for describing the data of cargo, determining the type of the cargo according to described;
Cargo reads Rule submodule, for obtaining reading rule corresponding with the type of the cargo from system;
Data available reading submodule, for reading institute from the data for describing cargo according to the reading rule
State data available.
6. equipment according to claim 5, which is characterized in that the data type obtains module and includes:
Data type field reading submodule, for reading data type field included by the data for describing cargo;
Data type analyzing sub-module, it is described for describing the data of cargo for parsing according to the data type field
Data type.
7. equipment according to claim 6, which is characterized in that the data reading mode searching module includes:
Data type, which configures, determines submodule, and whether the system that determines is pre-configured with described for describing the data class of the data of cargo
Type;
Data reading mode search submodule, for when data type configure determine submodule determination be when, according to the data
Type field is searched the corresponding data of the data type from the corresponding data reading mode of multiple data types of storage and is read
Take mode.
8. equipment according to claim 5, which is characterized in that the mirror image data generation module includes:
Describe data generate submodule, for by included by the data for being used to describe cargo in addition to the data available
Other data generate description data;
Mirror image data generates submodule, for generating the mirror image data according to the description data and the data available.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610207624.XA CN105893187B (en) | 2016-04-01 | 2016-04-01 | A kind of mirror image data generation method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610207624.XA CN105893187B (en) | 2016-04-01 | 2016-04-01 | A kind of mirror image data generation method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105893187A CN105893187A (en) | 2016-08-24 |
CN105893187B true CN105893187B (en) | 2019-08-13 |
Family
ID=57012635
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610207624.XA Active CN105893187B (en) | 2016-04-01 | 2016-04-01 | A kind of mirror image data generation method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105893187B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136278A (en) * | 2011-12-05 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Data reading method and data reading device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7711602B2 (en) * | 2003-09-23 | 2010-05-04 | Ryder Integrated Logistics | Systems and methods for supply chain management |
CN1700224A (en) * | 2005-05-20 | 2005-11-23 | 重庆邮电学院 | Method and system for realizing third party logistic dispensing information sharing |
CN101957865A (en) * | 2010-10-27 | 2011-01-26 | 杭州新中大软件股份有限公司 | Data exchange and sharing technology among heterogeneous systems |
CN103927344A (en) * | 2014-03-31 | 2014-07-16 | 国网山东省电力公司 | Data integration method |
CN105389683A (en) * | 2015-11-25 | 2016-03-09 | 北京华油信通科技有限公司 | Cloud computing support system |
CN105407159B (en) * | 2015-11-25 | 2018-09-25 | 北京华油信通科技有限公司 | Logistics transportation position service system |
-
2016
- 2016-04-01 CN CN201610207624.XA patent/CN105893187B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103136278A (en) * | 2011-12-05 | 2013-06-05 | 腾讯科技(深圳)有限公司 | Data reading method and data reading device |
Also Published As
Publication number | Publication date |
---|---|
CN105893187A (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102982178B (en) | A kind of image searching method, device and system | |
CN110119294A (en) | The generation method of menu page, apparatus and system | |
CN109829073B (en) | Image searching method and device | |
CN110233946B (en) | Method for executing outbound service, electronic device and computer readable storage medium | |
US8954988B1 (en) | Automated assessment of terms of service in an API marketplace | |
US8296725B2 (en) | Framework for variation oriented analysis for service-oriented architecture | |
CN116975010B (en) | Electronic material library sharing method and system | |
CN110086894B (en) | Personnel association information mining method, communication recommendation method and related device | |
CN108021629A (en) | A kind of ad material data creation method, apparatus and system | |
CN105893187B (en) | A kind of mirror image data generation method and electronic equipment | |
CN101908174A (en) | Method, device and EAP (Enterprise Application Platform) system for processing part object information in drawing file | |
US20180285460A1 (en) | Pickup article cognitive fitment | |
CN113742529A (en) | Multi-table front-end processing method and device | |
US11556558B2 (en) | Insight expansion in smart data retention systems | |
CN105868380A (en) | Heterogenous data reading method and electronic equipment | |
CN110471708B (en) | Method and device for acquiring configuration items based on reusable components | |
Broll et al. | Modeling context information for realizing simple mobile services | |
CN115617774A (en) | Data processing method and device based on configuration management system and computer equipment | |
US20170270187A1 (en) | Information processing device, information processing method, and program | |
CN107491460A (en) | The data mapping method and device of adaption system | |
CN110705382A (en) | Electronic invoice management method, device, equipment and medium based on invoice categories | |
CN110807696A (en) | Method and device for matching funds with assets and storage medium | |
CN111178025A (en) | Editing method and device of nuclear power plant operation guide rules, computer equipment and storage medium | |
CN107679218A (en) | Searching method and device based on internal memory | |
US20220383220A1 (en) | Identifying solution packages based on determined relationships |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20180117 Address after: 510370 Guangzhou City, Guangzhou, Guangdong, Fangcun Avenue, one of the 314 self compiled Applicant after: Guangzhou Pinwei Software Co., Ltd. Address before: No. 20, Liwan District Huahai street, Guangzhou, Guangdong Province Applicant before: GUANGZHOU VIP NETWORK TECHNOLOGY CO., LTD. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |