CN107633027A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN107633027A
CN107633027A CN201710769979.2A CN201710769979A CN107633027A CN 107633027 A CN107633027 A CN 107633027A CN 201710769979 A CN201710769979 A CN 201710769979A CN 107633027 A CN107633027 A CN 107633027A
Authority
CN
China
Prior art keywords
data
object element
target
binary
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710769979.2A
Other languages
Chinese (zh)
Inventor
张超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen One Cheng Technology Co Ltd
Original Assignee
Shenzhen One Cheng 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 Shenzhen One Cheng Technology Co Ltd filed Critical Shenzhen One Cheng Technology Co Ltd
Priority to CN201710769979.2A priority Critical patent/CN107633027A/en
Publication of CN107633027A publication Critical patent/CN107633027A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of data processing method and device, wherein data processing method includes:Object element is determined, the object element is the unit for carrying out data storage in database according to binary system, and the data stored in the object element have diadic attribute;Binary numeral corresponding to target data is obtained, the target data is the data with diadic attribute for needing to be added in the database;Binary numeral corresponding to the target data is added to the object element.The embodiment of the present invention can be used for solves the problems, such as due in database table addition row and caused by lock table, it is possible to increase the efficiency of processing data.

Description

Data processing method and device
Technical field
The present invention relates to areas of information technology, more particularly to a kind of data processing method and device.
Background technology
Database (Database) is to come tissue, storage and management data according to data structure, establishes and is deposited in computer Store up the warehouse in equipment.It is the file cabinet that can be considered electronization in itself in simple terms --- the place of storage e-file, user Data in file can be increased newly, intercept, update, deleting etc. with operation.
In the project development process of customer data base is related to, often need there will be diadic category because demand changes The data of property (such as " man " and " female " of user property, or " fat " and " thin ") are added in database existing table In, if being added the operations of row to form to store such data, it will usually trigger " lock table " problem, i.e., in addition Lie Shibiao Lattice are locked, the state that the data entrance stored in the form can not call, when especially when data volume is very big, causing " lock table " Between it is longer, influence the efficiency of data processing.
The content of the invention
The embodiment of the present invention provides a kind of data processing method and device, is asked with solving " lock table " described in background technology Topic, improve the efficiency of data processing.
In a first aspect, the embodiments of the invention provide a kind of data processing method, this method includes:
Determine object element, the object element is the unit for carrying out data storage in database according to binary system, and institute Stating the data stored in object element has diadic attribute;
Binary numeral corresponding to target data is obtained, the target data is the tool for needing to be added in the database There are the data of diadic attribute;
Binary numeral corresponding to the target data is added to the object element.
Second aspect, the embodiments of the invention provide a kind of terminal, the terminal includes:
Determining unit, for determining object element, the object element is to carry out data according to binary system in database to deposit The unit of storage, and the data stored in the object element have diadic attribute;
Acquiring unit, for obtaining binary numeral corresponding to target data, the target data is needs to be added to institute State the data with diadic attribute in database;
Adding device, for binary numeral corresponding to the target data to be added into the object element.
The third aspect, the embodiments of the invention provide another terminal, including processor, input equipment, output equipment and Memory, the processor, the input equipment, the output equipment and the memory are connected with each other, wherein, the storage Device is used to store the application code for supporting terminal to perform the above method, and the processor is arranged to perform above-mentioned first The method of aspect.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable recording medium, the computer-readable storage medium Computer program is stored with, the computer program includes programmed instruction, and described program instruction makes institute when being executed by a processor The method for stating the above-mentioned first aspect of computing device.
The embodiment of the present invention is by by target list of the data with diadic attribute according to binary storage in database In member, avoid in database table addition row and caused by " lock table " problem, improve the efficiency of data processing.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, it is required in being described below to embodiment to use Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of data processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of data provided in an embodiment of the present invention and binary corresponding relation figure;
Fig. 3 is a kind of schematic flow diagram for data processing method that another embodiment of the present invention provides;
Fig. 4 A are a kind of data processing schematic diagram of a scenario provided in an embodiment of the present invention;
Fig. 4 B are another data processing schematic diagram of a scenario provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic block diagram of data processing equipment provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic block diagram for data processing equipment that another embodiment of the present invention provides;
Fig. 7 is a kind of schematic block diagram for data processing equipment that another embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It should be appreciated that ought be in this specification and in the appended claims in use, term " comprising " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but it is not precluded from one or more of the other feature, whole Body, step, operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the data processing equipment described in the embodiment of the present invention may include but unlimited when being used as terminal In the mobile phone such as with touch sensitive surface (for example, touch-screen display and/or touch pad), laptop computer or Other portable sets of tablet PC etc.It is to be further understood that in certain embodiments, the equipment is simultaneously non-portable Formula communication equipment, but the desktop computer with touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the data processing equipment including display and touch sensitive surface is described.However, should When understanding, such as physical keyboard, mouse and/or control-rod can also be included when data processing equipment uses as terminal One or more of the other physical user-interface device.
Data processing equipment supports various application programs, such as one or more of following:Drawing application program, demonstration Application program, word-processing application, website create application program, disk imprinting application program, spreadsheet applications, trip Play application program, telephony application, videoconference application, email application, instant message transrecieving application journey Sequence, take exercise and support application program, photo management application program, digital camera application program, digital camera application program, web Viewer applications, digital music player application and/or video frequency player application program.
The various application programs that can be performed on data processing equipment can be using such as touch sensitive surface at least One public physical user-interface device.It can adjust and/or change among applications and/or in corresponding application programs and touch Touch the corresponding information shown in the one or more functions and data processing equipment of sensing surface.So, data processing equipment Public physical structure (for example, touch sensitive surface) can support with user interface directly perceived and transparent for a user Various application programs.
Referring to Fig. 1, Fig. 1 is that the embodiment of the present invention provides a kind of schematic flow diagram of data processing method, the data processing Method can be applied to data processing equipment, and the data processing equipment can include mobile phone, tablet personal computer, notebook computer, palm The terminals such as computer, mobile internet device (Mobile Internet Device, MID);It is understood that the data processing Device can also be server etc., and the present embodiment is not construed as limiting.As shown in figure 1, the data processing method may include:
101st, object element is determined, above-mentioned object element is the unit for carrying out data storage in database according to binary system, And the data stored in above-mentioned object element have diadic attribute;
In the present embodiment, the data stored in object element have diadic attribute, such as man and female, victory and defeat, gently and again, greatly With it is small etc., such only has the data of the attribute of diadic.
In the present embodiment, it is determined that before object element, it can also include:Created in above-mentioned database and include present count According to the object element of type.
Specifically, above-mentioned preset data type includes:Appointing in integer integer, long Long or short short Meaning one.Wherein, the object element for including preset data type is created, i.e., object element is created in database, can be caused The object element carries out data storage with binary system, and the digit that the object element may store can be the position of preset data type Number, and store the data with diadic attribute.Specifically, man such as is represented with binary one, then Binary Zero represents female;And for example with two System 1 represents victory, and Binary Zero represents negative etc..It is understood that the present embodiment for the data type of how many digit not It is construed as limiting, can be set according to the needs of user, can also be configured by system etc..
102nd, binary numeral corresponding to target data is obtained, above-mentioned target data is to need to be added in above-mentioned database The data with diadic attribute;
For data processing equipment by setting binary numeral corresponding to objective attribute target attribute, above-mentioned binary numeral is 0 or 1, its In, 0 represents an attribute in the objective attribute target attribute, and 1 represents another attribute in the objective attribute target attribute.Such as by setting sex category Property corresponding to bit place value, wherein, set binary one to represent man, then Binary Zero represents female, if desired added in database Data for man, then correspondingly, binary numeral 1 corresponding to man can be obtained.Carried as shown in Fig. 2 Fig. 2 is invention the present embodiment A kind of data supplied and binary corresponding relation figure.
103rd, binary numeral corresponding to above-mentioned target data is added to above-mentioned object element.
For example, according to integer Integer in the storage principle of internal memory, Integer accounts for 4 bytes in internal memory, often Individual byte 8, an Integer are exactly 32.That is, in the present embodiment, the data step-by-step stored in object element is deposited Storage represents, such a Integer needs to add with diadic with regard to that can represent the data of 32 attributes with diadic running into During the data of attribute, avoid the need for adding row again in addition, it is possible to which target data is added in database.
In the present embodiment, by the way that the data to be stored with diadic attribute are directly stored in database according to binary system Original Destination Storage Unit in, avoid caused by when newly being added in database form locking, asking for data can not be called Topic, improves the efficiency of data processing, in addition, target data is stored in the original memory cell of database, can also save Memory space, improve the utilization rate of data processing equipment data space.
Referring to Fig. 3, Fig. 3 is that another embodiment of the present invention provides a kind of schematic flow diagram of data processing method, such as Fig. 3 institutes Show, the data processing method may include:
301st, object element is determined, above-mentioned object element is the unit for carrying out data storage in database according to binary system, And the data stored in above-mentioned object element have diadic attribute;
302nd, binary numeral corresponding to target data is obtained, above-mentioned target data is to need to be added in above-mentioned database The data with diadic attribute;
303rd, the bit do not used in above-mentioned object element is searched, obtains target bits position;
Specifically, can also according to from low level to the bit do not used in the above-mentioned object element of sequential search of a high position, Obtain target bits position.
304th, binary numeral corresponding to above-mentioned target data is added to above-mentioned target bits position.
For example, when database creates object element of the storage with diadic attribute, data such as is carried out using Long and are deposited Storage, such as first, the right storage man, female, winning, bearing for second storage, if desired Add New Attribute such as article in database Weight, then can successively be searched from low level to a high position, obtain the 3rd, so as to light corresponding binary numeral or will correspond to again Binary numeral be added to the 3rd.
If weight attribute is gently and again, wherein, binary numeral 1 represents weight, and binary numeral 0 represents light;
The value for then setting specified location is 1, and code can be as follows:
pubic static int set position true value(int position,int value){
return value|(1<<position-1);
}
The value for setting specified location is 0, and code can be as follows:
pubic static int set position false value(int position,int value){
return value^(1<<position-1);
}
It is understood that above-mentioned code is merely illustrative, should not be construed as with limiting meaning.
Implement the present embodiment, by determining object element, target bits position is searched, so as to which target data is added to The target bits position, not only can effectively solve the problems, such as due to the addition row in database and caused by lock table, but also can be with The more storage of authority data, improve the efficiency of data processing.
Alternatively, the present embodiment additionally provides a kind of method for checking data, and the above method also includes:
Instruction is checked in reception, obtains the above-mentioned binary numeral for checking instruction, above-mentioned to check that instruction is for mesh Mark attribute checks instruction;
Show the above-mentioned data checked corresponding to the binary numeral of instruction.
The present embodiment in order to vivider is described, it is existing for example, as shown in Figure 4 A, upper figure is to be deposited in data processing equipment The data with diadic attribute of storage and binary corresponding relation, wherein, binary one represents male in first row, Binary Zero table Show female, binary one represents victory in secondary series, and Binary Zero represents negative, and binary one represents weight in the 3rd row, and Binary Zero represents light; User needs to check gender attribute, then the data processing equipment is converted to the gender attribute for checking instruction received Show gently or again user.
The present embodiment is more specifically described, object element is created in database, wherein, first row has stored sex category Property, secondary series stored final result attribute, now needs the row of addition one in the database, i.e. weight attribute, then data processing equipment Do not have also with (the 3rd is not used here) in place into the sequential search object element of a high position according to from low level;If 0 Light, 1 representative weight is represented, if then user's selection attribute weight, data processing equipment can be arranged to 1 by the 3rd, if user selects It is light to select attribute, then can be arranged to 0 by the 3rd;If user will check the weight attribute, by receiving looking into for user's input Instruction is seen, the data processing equipment is by obtaining the 3rd corresponding binary system, so as to which the Binary Conversion be attached most importance to or gently opened up Show (if the value of the 3rd storage is 1, it is intelligible heavy can be converted to user to user;If the value of the 3rd storage It is 0, then it is intelligible light can be converted to user).
Implement the present embodiment, it is corresponding with the binary system by the way that the binary system for checking instruction received is converted into Data, so as to show the data corresponding to the binary system, can not only improve the efficiency of data processing, but also can facilitate User understands, improves the satisfaction of user.
If weight attribute is gently and again, wherein, binary one represents weight, and Binary Zero represents light;
The code for then obtaining the value of specified location can be as follows:
pubic static int get position value(int position,int value){
return value>>position-1&1;
}
It is understood that above-mentioned code is merely illustrative, should not be construed as with limiting meaning.
Alternatively, the present embodiment additionally provides a kind of display methods, and the above method also includes:
According to the corresponding relation of binary system and target system, mesh corresponding to the binary numeral in above-mentioned object element is obtained Mark the value of system;
Show value corresponding to above-mentioned target system.
In the present embodiment, target system can be decimal system etc., and the present embodiment is not construed as limiting.For example, target system For the decimal system, three bits have been used in object element, has such as been 100, then according to binary system and metric relation, then stores After data, the numeral that the object element is shown is 4.Four bits 1010 for example, in object element have been used again, then should The numeral that object element is shown is 10, as shown in Figure 4 B.
Implement the present embodiment, in the case that the bit that can be used in object element is more, need to only be shown in this two The value of target system corresponding to system, the buffer memory space of data processing equipment can be effectively saved, improves the data The systematic function of processing unit.
Referring to Fig. 5, Fig. 5 is a kind of schematic block diagram of data processing equipment provided in an embodiment of the present invention.The data processing Device can apply to data processing method provided in an embodiment of the present invention, and the data processing equipment can include mobile phone, flat board The terminals such as computer, notebook computer, palm PC, mobile internet device (Mobile Internet Device, MID);Can With understanding, the data processing equipment can also be server etc., and the present embodiment is not construed as limiting.
As shown in figure 5, the data processing equipment may include:
Determining unit 501, for determining object element, above-mentioned object element is to carry out data according to binary system in database The unit of storage, and the data stored in above-mentioned object element have diadic attribute;
In the present embodiment, the data stored in object element have the attribute of diadic, such as man and female, victory and defeat, gently and again, Big and small etc., such only has the data of diadic attribute.
In the present embodiment, object element can be created in database so that the object element carries out data with binary system Storage, and store the data of the attribute with diadic, for example, man is represented with binary one, then Binary Zero represents female;And for example Represent to win with binary one, Binary Zero represents negative etc..
Acquiring unit 502, for obtaining binary numeral corresponding to target data, above-mentioned target data is added to for needs The data with diadic attribute in above-mentioned database;
For data processing equipment by setting bit place value corresponding to objective attribute target attribute, above-mentioned bit place value is 0 or 1, wherein, 0 An attribute in the objective attribute target attribute is represented, 1 represents another attribute in the objective attribute target attribute.Such as by setting gender attribute pair The bit place value answered, wherein, set binary one to represent man, then Binary Zero represents female, if desired added to the number in database According to for man, then correspondingly, binary one corresponding to man can be obtained.As shown in Fig. 2 Fig. 2 is one kind that invention the present embodiment provides Data and binary corresponding relation figure.
Adding device 503, for binary numeral corresponding to above-mentioned target data to be added into above-mentioned object element.
For example, according to integer Integer in the storage principle of internal memory, Integer accounts for 4 bytes in internal memory, often Individual byte 8, an Integer are exactly 32.That is, in the present embodiment, the data step-by-step stored in object element is deposited Storage represents, such a Integer needs to add with diadic with regard to that can represent the data of 32 attributes with diadic running into During the data of attribute, avoid the need for adding row again in addition, it is possible to which target data is added in database.
It is understood that the present embodiment for being not construed as limiting with the data type of how many digit, can also such as use length whole Type Long or short short etc., it can be set according to the needs of user.
In the present embodiment, by the way that the data to be stored with diadic attribute are directly stored in database according to binary system Original Destination Storage Unit in, avoid caused by when newly being added in database form locking, asking for data can not be called Topic, improves the efficiency of data processing, in addition, target data is stored in the original memory cell of database, can also save Memory space, improve the utilization rate of data processing equipment data space.
Alternatively, as shown in fig. 6, above-mentioned data processing equipment may also include:
Obtaining unit 504 is searched, for searching the bit do not used in above-mentioned object element, obtains target bits position;
Specifically, lookup obtaining unit 504, specifically for according to from low level to the above-mentioned target list of sequential search of a high position The bit do not used in member, obtain target bits position.
Above-mentioned adding device 503, specifically for binary numeral corresponding to above-mentioned target data is added into above-mentioned target Bit.
Implement the present embodiment, by determining object element, target bits position is searched, so as to which target data is added to The target bits position, not only can effectively solve the problems, such as due to the addition row in database and caused by lock table, but also can be with The more storage of authority data, improve the efficiency of data processing.
Acquiring unit 505 is received, instruction is checked for receiving, obtains the above-mentioned binary numeral for checking instruction, It is above-mentioned to check that instruction is to check instruction for objective attribute target attribute;
Display unit 506, for showing the above-mentioned data checked corresponding to the binary numeral of instruction.
Implement the present embodiment, it is corresponding with the binary system by the way that the binary system for checking instruction received is converted into Data, so as to show the data corresponding to the binary system, can not only improve the efficiency of data processing, but also can facilitate User understands, improves the satisfaction of user.
Above-mentioned acquiring unit 502, the corresponding relation with target system according to binary system is additionally operable to, obtains above-mentioned object element In binary numeral corresponding to target system;
Above-mentioned display unit 506, it is additionally operable to show value corresponding to above-mentioned target system.
Implement the present embodiment, in the case that the bit that can be used in object element is more, need to only be shown in this two The value of target system corresponding to system, the buffer memory space of data processing equipment can be effectively saved, improves the data The systematic function of processing unit.
Specifically, as shown in fig. 6, above-mentioned data processing equipment can also include:
Creating unit 507, the object element of preset data type is included for creating in the database.
In the specific implementation, the data processing equipment shown in above-mentioned Fig. 5 and Fig. 6 can perform provided in an embodiment of the present invention One embodiment and second embodiment, are not repeated here.
Referring to Fig. 7, Fig. 7 is a kind of data processing equipment schematic block diagram that another embodiment of the present invention provides.As shown in Figure 7 The present embodiment in data processing equipment can include:One or more processors 701;One or more input equipments 702, One or more output equipments 703 and memory 704.Above-mentioned processor 701, input equipment 702, output equipment 703 and storage Device 704 is connected by bus 705.Memory 702 is used for store instruction, and processor 701 is used for the finger for performing the storage of memory 702 Order.Wherein, processor 701 is used for:
Object element is determined, above-mentioned object element is the unit for carrying out data storage in database according to binary system, and on Stating the data stored in object element has diadic attribute;Obtain binary numeral corresponding to target data, above-mentioned target data To need the data with diadic attribute being added in above-mentioned database;Binary numeral corresponding to above-mentioned target data is added Add to above-mentioned object element.
Alternatively, above-mentioned processor 701 is additionally operable to:The bit do not used in above-mentioned object element is searched, obtains target Bit;Binary numeral corresponding to above-mentioned target data is added to the specific reality of above-mentioned object element by above-mentioned processor 701 Now mode can be:Binary numeral corresponding to above-mentioned target data is added to above-mentioned target bits position.
Specifically, above-mentioned processor 701 searches the bit do not used in the object element, obtains target bits position Specific implementation can be:According to the bit do not used into the above-mentioned object element of sequential search of a high position from low level, obtain Obtain target bits position.
Alternatively, above-mentioned processor 701 also can trigger the reception of input equipment 702 and check instruction, and acquisition is above-mentioned to check instruction Specified binary numeral, it is above-mentioned to check that instruction is to check instruction for objective attribute target attribute;By in the display of output equipment 703 State and check data corresponding to the binary numeral of instruction.
Alternatively, above-mentioned processor 701 is additionally operable to:According to the corresponding relation of binary system and target system, above-mentioned mesh is obtained Mark the value of target system corresponding to the binary numeral in unit;The value of above-mentioned target system is shown by output equipment 703.
Alternatively, above-mentioned processor 701 is additionally operable to:The target list for including preset data type is created in above-mentioned database Member.Wherein, above-mentioned preset data type includes:Any one in integer integer, long Long or short short.
It should be appreciated that in embodiments of the present invention, alleged processor 701 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 702 can include Trackpad, microphone etc., output equipment 703 can include display (LCD etc.), Loudspeaker etc..
The memory 704 can include read-only storage and random access memory, and to processor 701 provide instruction and Data.The a part of of memory 704 can also include nonvolatile RAM.For example, memory 704 can also be deposited Store up the information of device type.
In the specific implementation, processor 701, input equipment 702, the output equipment 703 described in the embodiment of the present invention can The implementation described in the first embodiment and second embodiment of data processing method provided in an embodiment of the present invention is performed, Also the implementation of the data processing equipment described by the embodiment of the present invention is can perform, will not be repeated here.
A kind of computer-readable recording medium, above computer readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and above computer program is realized when being executed by processor:
Object element is determined, above-mentioned object element is the unit for carrying out data storage in database according to binary system, and on Stating the data stored in object element has diadic attribute;
Binary numeral corresponding to target data is obtained, above-mentioned target data is the tool for needing to be added in above-mentioned database There are the data of diadic attribute;
Binary numeral corresponding to above-mentioned target data is added to above-mentioned object element.
Above computer readable storage medium storing program for executing can be that the inside of the above-mentioned data processing equipment of foregoing any embodiment is deposited Storage unit, such as the hard disk or internal memory of data processing equipment.Above computer readable storage medium storing program for executing can also be at above-mentioned data Manage the External memory equipment of device, such as the plug-in type hard disk being equipped with above-mentioned data processing equipment, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, Above computer readable storage medium storing program for executing can also both include the internal storage unit of above-mentioned data processing equipment or be deposited including outside Store up equipment.Above computer readable storage medium storing program for executing is used to store needed for above computer program and above-mentioned data processing equipment Other programs and data.Above computer readable storage medium storing program for executing, which can be also used for temporarily storing, have been exported or will export Data.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the number of foregoing description According to processing unit and the specific work process of unit, the corresponding process in preceding method embodiment is may be referred to, it is no longer superfluous herein State.
In several embodiments provided herein, it should be understood that disclosed data processing equipment and method, can To realize by another way.For example, device embodiment described above is only schematical, for example, the unit Division, only a kind of division of logic function, can there is other dividing mode, such as multiple units or group when actually realizing Part can combine or be desirably integrated into another system, or some features can be ignored, or not perform.In addition, it is shown or The mutual coupling discussed or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communication connection or electricity, the connection of mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize scheme of the embodiment of the present invention according to the actual needs Purpose.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also It is that unit is individually physically present or two or more units are integrated in a unit.It is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art, or all or part of the technical scheme can be in the form of software product Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced Change, these modifications or substitutions should be all included within the scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain be defined.

Claims (10)

  1. A kind of 1. data processing method, it is characterised in that including:
    Determine object element, the object element is the unit for carrying out data storage in database according to binary system, and the mesh The data stored in mark unit have diadic attribute;
    Obtain binary numeral corresponding to target data, the target data be need to be added in the database have it is double The data of value attribute;
    Binary numeral corresponding to the target data is added to the object element.
  2. 2. according to the method for claim 1, it is characterised in that after the determination object element, and it is described by described in Binary numeral corresponding to target data is added to before the object element, and methods described also includes:
    The bit do not used in the object element is searched, obtains target bits position;
    It is described to include binary numeral corresponding to the target data added to the object element:
    Binary numeral corresponding to the target data is added to the target bits position.
  3. 3. according to the method for claim 1, it is characterised in that methods described also includes:
    Instruction is checked in reception, and the binary numeral of instruction is checked described in acquisition, described to check that instruction is for target category Property checks instruction;
    The data corresponding to the binary numeral of instruction are checked described in display.
  4. 4. according to the method for claim 1, it is characterised in that methods described also includes:
    According to the corresponding relation of binary system and target system, obtain the binary numeral in the object element corresponding to target enter The value of system;
    Show the value of the target system.
  5. 5. according to the method for claim 2, it is characterised in that described to search the bit do not used in the object element Position, obtaining target bits position includes:
    According to the bit do not used into the above-mentioned object element of sequential search of a high position from low level, target bits position is obtained.
  6. 6. according to the method described in claim any one of 1-5, it is characterised in that before the determination object element, the side Method also includes:
    The object element for including preset data type is created in the database.
  7. 7. according to the method for claim 6, it is characterised in that the preset data type includes:Integer, long or short Any one in integer.
  8. 8. a kind of terminal, it is characterised in that including the list for performing the method as described in claim 1-7 any claims Member.
  9. A kind of 9. terminal, it is characterised in that including processor, input equipment, output equipment and memory, the processor, institute Input equipment, the output equipment and the memory is stated to be connected with each other, wherein, the memory is used to store application program generation Code, the processor are arranged to call described program code, perform the method as described in claim any one of 1-7.
  10. 10. a kind of computer-readable recording medium, it is characterised in that the computer-readable recording medium storage has computer journey Sequence, the computer program include programmed instruction, and described program instruction makes the computing device such as when being executed by a processor Method described in claim any one of 1-7.
CN201710769979.2A 2017-08-29 2017-08-29 Data processing method and device Pending CN107633027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710769979.2A CN107633027A (en) 2017-08-29 2017-08-29 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710769979.2A CN107633027A (en) 2017-08-29 2017-08-29 Data processing method and device

Publications (1)

Publication Number Publication Date
CN107633027A true CN107633027A (en) 2018-01-26

Family

ID=61100656

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710769979.2A Pending CN107633027A (en) 2017-08-29 2017-08-29 Data processing method and device

Country Status (1)

Country Link
CN (1) CN107633027A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515985A (en) * 2019-08-15 2019-11-29 中国平安财产保险股份有限公司 Data characterization method, apparatus, equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1270363A (en) * 1999-04-09 2000-10-18 英业达股份有限公司 Database management method
US20090083452A1 (en) * 2007-09-21 2009-03-26 Electronics And Telecommunications Research Institute Apparatus and method for creating device association/control information for realistic media representation
CN103389992A (en) * 2012-05-09 2013-11-13 北京百度网讯科技有限公司 Structured data storage method and device
CN103399945A (en) * 2013-08-15 2013-11-20 成都博云科技有限公司 Data structure based on cloud computing database system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1270363A (en) * 1999-04-09 2000-10-18 英业达股份有限公司 Database management method
US20090083452A1 (en) * 2007-09-21 2009-03-26 Electronics And Telecommunications Research Institute Apparatus and method for creating device association/control information for realistic media representation
CN103389992A (en) * 2012-05-09 2013-11-13 北京百度网讯科技有限公司 Structured data storage method and device
CN103399945A (en) * 2013-08-15 2013-11-20 成都博云科技有限公司 Data structure based on cloud computing database system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
姚志鹏 等: "一种利用二进制属性压缩数据库的方法", 《青岛大学学报(自然科学版)》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110515985A (en) * 2019-08-15 2019-11-29 中国平安财产保险股份有限公司 Data characterization method, apparatus, equipment and computer storage medium

Similar Documents

Publication Publication Date Title
CN108038112A (en) Document handling method, mobile terminal and computer-readable recording medium
CN107633014A (en) A kind of date storage method and server
EP3815342B1 (en) Adaptive user-interface assembling and rendering
US20160063043A1 (en) Versatile Data Model
CN107451244A (en) File naming method, mobile terminal and computer-readable recording medium
CN107357857A (en) A kind of method and service node device for updating cache information
CN108400868A (en) Storage method, device and the mobile terminal of seed key
CN112818013B (en) Time sequence database query optimization method, device, equipment and storage medium
CN112882764B (en) Component loading method and device, computer equipment and storage medium
CN107506494B (en) Document handling method, mobile terminal and computer readable storage medium
CN112181386B (en) Code construction method, device and terminal based on software continuous integration
CN107547748A (en) A kind of picture management method, terminal and computer-readable recording medium
CN109783321A (en) Monitoring data management method, device, terminal device
CN107679222A (en) Image processing method, mobile terminal and computer-readable recording medium
CN107783932A (en) Information processing method, mobile terminal and the computer-readable recording medium of calculator
CN107633027A (en) Data processing method and device
CN108062350A (en) A kind of data processing method, node device and computer-readable medium
CN107609119A (en) Document handling method, mobile terminal and computer-readable recording medium
CN109492249A (en) Rapid generation, device and the terminal device of design drawing
CN107515816A (en) The method and server of a kind of data statistics
CN107870985A (en) A kind of method, server and computer-readable recording medium for retrieving information
CN114496139A (en) Quality control method, device, equipment and system of electronic medical record and readable medium
CN109783308A (en) A kind of method and terminal device of terminal detection
CN110427379A (en) The cochain method and device thereof of user&#39;s search associated data
CN110018828A (en) Source code inspection method, device and terminal device

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180126