CN109375856B - Information storage method and device and mobile terminal - Google Patents

Information storage method and device and mobile terminal Download PDF

Info

Publication number
CN109375856B
CN109375856B CN201811205252.2A CN201811205252A CN109375856B CN 109375856 B CN109375856 B CN 109375856B CN 201811205252 A CN201811205252 A CN 201811205252A CN 109375856 B CN109375856 B CN 109375856B
Authority
CN
China
Prior art keywords
target object
target
point
attribute information
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.)
Active
Application number
CN201811205252.2A
Other languages
Chinese (zh)
Other versions
CN109375856A (en
Inventor
张艳妮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811205252.2A priority Critical patent/CN109375856B/en
Publication of CN109375856A publication Critical patent/CN109375856A/en
Application granted granted Critical
Publication of CN109375856B publication Critical patent/CN109375856B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes

Abstract

The invention provides an information storage method and device. The method comprises the following steps: determining a target object according to a viewing interface of the mobile terminal; adding a marking point to the target object according to a set rule; acquiring target attribute information of the target object according to the marking point; the target attribute information comprises at least one of a length attribute, a width attribute, a height attribute and a three-dimensional attribute; and saving the target attribute information. The invention avoids the use of a tape measure and a pen for measurement by a user, reduces the consumption of human resources, can save the measured attribute information in time, can clearly and intuitively record the size information of various commodities and the like, and improves the use experience of the user.

Description

Information storage method and device and mobile terminal
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to an information saving method and apparatus, and a mobile terminal.
Background
In real life, when purchasing goods of furniture and home decoration, the size of the goods needs to be measured, and particularly, the home decoration needs to compare a plurality of goods of the same type and also needs to consider whether enough space is available at home or not.
Currently, when a user purchases an article of furniture, home furnishings, or the like, it is common to measure and record using a tape measure and a pen, thereby purchasing a suitable article according to a housing space in a home. However, the use of a tape measure and a pen for measurement not only consumes manpower, but also has the problems of unclear description and insufficient intuition when recording the size information of various commodities of the same type, thereby greatly reducing the use experience of users.
Disclosure of Invention
The embodiment of the invention provides an information storage method, an information storage device and a mobile terminal, and aims to solve the problems that the measurement by using a tape measure and a pen consumes labor, and the size information of various commodities of the same type is not described clearly and is not intuitive enough when being recorded.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information storage method, including: determining a target object according to a viewing interface of the mobile terminal; adding a marking point to the target object according to a set rule; acquiring target attribute information of the target object according to the marking point; the target attribute information comprises at least one of a length attribute, a width attribute, a height attribute and a three-dimensional attribute; and saving the target attribute information.
In a second aspect, an embodiment of the present invention provides an information storage apparatus, including: the target object determining module is used for determining a target object according to a viewing interface of the mobile terminal; the marking point adding module is used for adding marking points to the target object according to a set rule; the target attribute acquisition module is used for acquiring target attribute information of the target object according to the marking point; the target attribute information comprises at least one of a length attribute, a width attribute, a height attribute and a three-dimensional attribute; and the target attribute storage module is used for storing the target attribute information.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of any of the information saving methods described above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of any one of the information storage methods described above.
In the embodiment of the invention, the target object is determined according to the viewing interface of the mobile terminal, the marking point is added to the target object according to the set rule, and the attribute information of the target object is obtained and stored according to the marking point, wherein the target attribute information comprises at least one of length attribute, width attribute, height attribute and three-dimensional attribute, so that the embodiment of the invention can realize automatic measurement of the attribute information (such as information of length, width and the like) of the target object, avoids the measurement of a user by using a measuring tape and a pen, reduces the consumption of human resources, can store the measured attribute information in time, can clearly and intuitively record the size information of various commodities and the like, and improves the use experience of the user.
Drawings
Fig. 1 is a flowchart illustrating steps of an information saving method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for storing information according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of an irregular object measurement provided by an embodiment of the present invention;
FIG. 2b is a schematic diagram of a method for storing regular object measurement information according to an embodiment of the present invention;
FIG. 2c is a schematic diagram of a method for storing dimension information of clothes according to an embodiment of the present invention;
FIG. 2d is a schematic diagram of a method for recording height curves of a user according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an information storage apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information storage apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of an information saving method according to an embodiment of the present invention is shown; the information storage method can be applied to a mobile terminal, and specifically comprises the following steps:
step 101: and determining a target object according to the viewing interface of the mobile terminal.
In the embodiment of the present invention, the mobile terminal may be a mobile electronic device such as a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, and the like.
The embodiment Of the invention can be applied to the mobile electronic equipment with a touch screen, a Time Of Flight (TOF) module or a double-camera module. The TOF module or the dual-camera module has a function of recognizing object depth information, that is, the distance between nodes is measured by using the time of flight of a signal such as near infrared light to and fro between two asynchronous transceivers (transceivers) (or reflected surfaces).
The target object may be an object, such as furniture, a bed, a refrigerator, etc. The target object may also be a user, which is not limited in this embodiment of the present invention.
The method comprises the steps that a viewing interface can be preset on a display screen of the mobile terminal, when a user starts a TOF module or a double-camera module at the mobile terminal side to shoot a target object, the target object can be shot on the display screen interface of the mobile terminal, and then the user selects a proper distance and an angle to determine the target object.
After the target object is determined, step 102 is performed.
Step 102: and adding a marking point to the target object according to a set rule.
The marking point can comprise information such as a marking point and a coordinate corresponding to the marking point. The set rules may be determined based on the specific type of target object. After the target object is determined, the annotation points to be added may be selected according to the type of the target object, for example, when the target object is an object, the annotation points may be added to the highest point, the lowest point, the left critical point, and the right critical point of the object. When the target object is a user, labeling points can be added to the head top, the sole, the critical points of the shoulders, the critical points of the two arms, and the like of the user.
In practical applications, a person skilled in the art may select the annotation point to be added according to actual needs, and the embodiment of the present invention is not limited thereto.
After the annotation point is added to the target object according to the set rule, step 103 is executed.
Step 103: and acquiring the target attribute information of the target object according to the marking point.
In the embodiment of the present invention, the target attribute information may include at least one of a length attribute, a width attribute, a height attribute, and a three-dimensional attribute, where the length attribute may be a length of an object, and may also be an arm length of a user, and the like; the width attribute can be the width of the object or the shoulder width of the user; the height attribute can be the height of an object, the height of a user, and the like; the three-dimensional attribute may be a user's three-dimensional, and the like, which is not limited in this embodiment of the present invention.
After the annotation point is added to the target object, the three-dimensional coordinate value corresponding to each annotation point can be obtained, and target attribute information of the target object, such as the length, width and height attributes of the object, and the height, shoulder width, arm length, three-dimensional circumference and other attributes of the user, can be obtained according to the three-dimensional coordinate value of each annotation point.
Calculating the length, width, height, shoulder width, arm length, etc. of the object according to the three-dimensional coordinate values is a mature technology in the prior art, and how to calculate the length, width, height, shoulder width, arm length, etc. of the object is not the point of the invention, and the embodiment of the invention is not described herein again.
How to obtain the three-dimensional attributes of the user will be described in detail in the following embodiment two, which will not be described herein again.
After the target attribute information of the target object is acquired, step 104 is performed.
Step 104: and saving the target attribute information.
After the target attribute information of the target object is acquired, the target attribute information corresponding to the target object may be saved. In the present invention, each target attribute information of the target object may be stored in a list form, as shown in table 1 below:
table 1:
Figure BDA0001831063300000041
as shown in table 1 above, the attribute of the refrigerator, long: 3m, width: 2m, high: 5m are stored in Table 1.
Of course, a database corresponding to the target object may be created in advance, and the target attribute information of the target object may be stored in the form of the database.
In practical applications, a person skilled in the art may select a storage manner of the target attribute information of the target object by himself, which is not limited in the embodiment of the present invention.
According to the information storage method provided by the embodiment of the invention, the target object is determined according to the viewing interface of the mobile terminal, the marking point is added to the target object according to the set rule, and the attribute information of the target object is obtained and stored according to the marking point, wherein the target attribute information comprises at least one of length attribute, width attribute, height attribute and three-dimensional attribute, so that the embodiment of the invention can realize automatic measurement of the attribute information (such as information of length, width and the like) of the target object, avoids measurement by a user using a measuring tape and a pen, reduces the consumption of human resources, can store the measured attribute information in time, can clearly and intuitively record the size information of various commodities and the like, and improves the use experience of the user.
Example two
Referring to fig. 2, a flowchart illustrating steps of an information saving method according to an embodiment of the present invention is shown; the information storage method can be applied to a mobile terminal, and specifically comprises the following steps:
step 201: and determining a target object according to the viewing interface of the mobile terminal.
In the embodiment of the present invention, the mobile terminal may be a mobile electronic device such as a mobile phone, a PDA (Personal Digital Assistant), a tablet computer, and the like.
The embodiment Of the invention can be applied to the mobile electronic equipment with a touch screen, a Time Of Flight (TOF) module or a double-camera module. The TOF module or the dual-camera module has a function of recognizing object depth information, that is, the distance between nodes is measured by using the time of flight of a signal such as near infrared light to and fro between two asynchronous transceivers (transceivers) (or reflected surfaces).
The target object may be an object, such as furniture, a bed, a refrigerator, etc. The target object may also be a user, which is not limited in this embodiment of the present invention.
The method comprises the steps that a viewing interface can be preset on a display screen of the mobile terminal, when a user starts a TOF module or a double-camera module at the mobile terminal side to shoot a target object, the target object can be shot on the display screen interface of the mobile terminal, and then the user selects a proper distance and an angle to determine the target object.
After the target object is determined according to the viewing interface of the mobile terminal, step 202 is performed.
Step 202: and acquiring a plurality of key points of the target object.
After the target object is determined, a plurality of key points of the target object may be obtained according to a viewing interface of the mobile terminal, for example, when the target object is an object, a highest point, a lowest point, a left critical point, and a right critical point of the object may be used as the key points. When the target object is a user, critical points of the top, bottom, shoulders, arms, and the like of the user may be used as key points.
In practical applications, a person skilled in the art may select key points according to actual needs, and the embodiment of the present invention is not limited thereto.
After acquiring the plurality of key points of the target object, step 203 is performed.
Step 203: and adding a marking point for each key point.
After acquiring a plurality of key points of a target object in a viewing interface of the mobile terminal, adding annotation points to the acquired key points, for example, adding red or yellow annotation points to each key point to identify each key point; blue or yellow elliptical markers may also be added as annotation points to identify key points, and so on.
In practical applications, a person skilled in the art may select the added annotation point information according to actual needs, which is not limited in the embodiment of the present invention.
After adding the annotation point for each keypoint, step 204 is performed.
Step 204: and acquiring the three-dimensional coordinate value corresponding to each marking point.
After adding the annotation point to each key point of the target object, the three-dimensional coordinate value corresponding to each annotation point can be obtained.
How to obtain the three-dimensional coordinate values of the labeled points is a mature technical solution in the field, and the embodiment of the present invention is not described in detail herein.
After the three-dimensional coordinate values corresponding to the labeling points are obtained, step 205 is executed.
Step 205: and acquiring target attribute information of the target object according to the three-dimensional coordinate values.
In the embodiment of the present invention, the target attribute information may include at least one of a length attribute, a width attribute, a height attribute, and a three-dimensional attribute, where the length attribute may be a length of an object, and may also be an arm length of a user, and the like; the width attribute can be the width of the object or the shoulder width of the user; the height attribute can be the height of an object, the height of a user, and the like; the three-dimensional attribute may be a user's three-dimensional, and the like, which is not limited in this embodiment of the present invention.
The following describes in detail the acquisition of target attribute information of each target object in conjunction with different target object types.
1. When the target object is an irregular object, the following description can be made with reference to fig. 2a of the drawings in the specification.
Referring to fig. 2a, a schematic diagram of measuring an irregular object according to an embodiment of the present invention is shown, as shown in fig. 2a, when the length, the width and the height of the irregular object are measured, the height h from the highest point of a vertical plane of the irregular object to the plane may be marked, the length l and the width w from the largest rectangular vertex of a trajectory projected to the plane may be marked, and the length, the width and the height of the irregular object may be calculated according to the three-dimensional coordinate values of the marked points.
2. When the target object is a regular object, each vertex of the regular object can be directly marked, and the length, width and height attributes of the regular object are calculated according to the three-dimensional coordinate values of the marked points.
3. When the height, shoulder width and arm length of a user are measured, the vertex of the top of the head of the user can be marked as a high point, the heel of the user can be marked as a low point, and the height of the user can be measured according to the three-dimensional coordinate value of the marked point; the three-dimensional coordinate values of the critical points can be obtained by marking the critical points of the shoulder width and the critical points of the arm length so as to calculate the shoulder width and the arm length of the user.
4. When measuring the three-dimensional circumference of the user, marking points can be added to the chest, the hip and the waist of the user, then the user is instructed to rotate at a constant speed for one circle, and the circumference of the track drawn by each key skeleton point is obtained to be the information (the chest circumference, the waist circumference and the hip circumference) of the three-dimensional circumference.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be construed as the only limitations of the present invention.
After the target attribute information of the target object is acquired, step 206 is performed.
Step 206: and acquiring a target object identifier corresponding to the target object.
In the embodiment of the present invention, the target object identifier refers to an identifier indicating an identity of the target object.
The target object identification can be name identification of a user, such as Zhang III, Li IV and the like; the target object identifier may also be a face information identifier of the user, and the like, which is not limited in this embodiment of the present invention.
And when the target attribute information of the target object is acquired, the target object identification corresponding to the target object can be acquired.
After obtaining the target object identification corresponding to the target object, step 206 is performed.
Step 207: and recording the acquisition time corresponding to the target attribute information.
The obtaining time refers to the time for obtaining the target attribute information corresponding to the target object, for example, the time for obtaining the height of the user a is 2018-09-22, and in the morning: 10:30, recording the acquisition time of the target object, such as the user a: the height is-1.8 m, and the acquisition time is-2018-09-22; 10:30, etc.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After recording the acquisition time corresponding to the target attribute information, step 208 is performed.
Step 208: and establishing an association relation among the target object identification, the acquisition time and the target attribute information, and storing the association relation.
In the embodiment of the present invention, after the target attribute information, the target object identifier, and the acquisition time are acquired, an association relationship among the target attribute information, the target object identifier, and the acquisition time may be established, and the association relationship may be stored at the mobile terminal side.
Of course, the association relationship may be stored in the form of a list or a database on the mobile terminal side.
The form of the association relationship saving will be described in detail with reference to the drawings attached to the specification.
Referring to fig. 2b, a schematic diagram of storing regular object measurement information according to an embodiment of the present invention is shown, and as shown in fig. 2, a target object is identified as "cube 1", and target attribute information is "long: XX cm, width: XX cm, high: XX cm, and the acquisition time is 2018-07-2300: 00.
Referring to fig. 2c, in the schematic diagram for storing the clothes scale information according to the embodiment of the present invention, as shown in fig. 2c, the target object is identified as "clothes length 1", and the target attribute information is "arm length: XX cm, shoulder width: XX cm, bust: XX cm, waist circumference: XX cm, hip circumference: XX cm, and the acquisition time is 2018-07-2300: 00.
Referring to fig. 2d, a schematic diagram of recording a curve of the height of the user according to an embodiment of the present invention is shown, and the first diagram on the left of fig. 2d is a schematic diagram of a curve of the height of the user, where the attribute of the height of the user is "height: XX cm ', obtain a time attribute of "2018-07-23 ', obtain a time attribute of" 2017-07-23 ', obtain a time attribute of "2016-07-23 ', obtain a time attribute of" 2015-07-23 ', namely, record the height of users ranging from 2015 to 2018 and ranging from 07 to 23 per year, and draw a height curve to record the growth curve of users such as babies. In the first drawing on the right side of fig. 2d, a sliding switching page may be further set on the user height attribute storage interface, and the user may click a lower switching button or a sliding screen to switch left and right, and may display height attribute information of different users, or height attribute records of the same user in different years, and the like.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be construed as the only limitations of the present invention.
After the association relationship between the target object identifier, the acquisition time, and the target attribute information is saved, the user displays one or more records of the records in subsequent review, and specifically, the following preferred embodiment is described in detail.
In a preferred embodiment of the present invention, after the step 208, the method further includes:
step S1: when the consulting operation executed by a user is monitored, the target object identification corresponding to the consulting operation is obtained.
In the embodiment of the present invention, the list may be stored in the system, and the reference operation performed by the user may be a click operation of clicking the list by the user.
Of course, in the system, different saving interfaces may also be used to save the obtaining time and the target attribute information corresponding to different target object identifiers, for example, as shown in fig. 2d, in the saving interface, a user may refer to the target attribute information corresponding to the target object identifier in a form of swiping a screen left and right or clicking a button corresponding to a slide switching page, and the reference operation performed by the user is an operation performed by the user to click a lower interface switching button, or a screen swiping operation performed by the user, or the like.
In the system, a monitoring program corresponding to the user to execute the reference operation can be preset so as to monitor the reference operation executed by the user in real time.
In a specific implementation, a person skilled in the art may also use other manners to monitor, in real time, a lookup operation performed by a user, which is not limited in this embodiment of the present invention.
After the reference operation performed by the user is acquired, the corresponding target object identifier, such as the user a, may be determined according to the reference operation, and step S2 is performed.
Step S2: and determining at least one acquisition time associated with the target object identifier and target attribute information corresponding to the acquisition time according to the association relation.
The system pre-stores the target object identifier, the association relationship between the acquisition time and the target attribute information, and after acquiring the target object identifier, at least one pre-stored acquisition time associated with the target object identifier and the corresponding target attribute information may be acquired, for example, as shown in fig. 2d, the height acquisition time and the height attribute information of the user a, and the like.
After determining at least one acquisition time associated with the target object identification and the target attribute information corresponding to the acquisition time, step S3 is performed.
Step S3: and displaying at least one acquisition time and the corresponding target attribute information in a display interface of the mobile terminal in an associated manner.
After determining at least one acquisition time associated with the target object identifier and the target attribute information corresponding to the acquisition time, the at least one acquisition time associated with the target object identifier and the target attribute information corresponding to the acquisition time may be displayed on a display interface of the mobile terminal in association, for example, as shown in fig. 2d, a recorded height of the user measured on 07/23 days in 2015-2018 is displayed on the display interface in association.
The acquisition time corresponding to the target object identification and the corresponding target attribute information are recorded and displayed, so that the height record of the baby can be acquired in real time in real life, and a growth curve is drawn, so that a user can feel more intuitively.
The information storage method provided by the embodiment of the invention has the beneficial effects that the information storage method shown in the first embodiment can be combined with the acquisition time of the target object identifier and the target attribute information to jointly store the target object identifier, the acquisition time and the target attribute information, wherein the target attribute information comprises at least one of length attribute, width attribute, height attribute and three-dimensional attribute, so that the three-dimensional data information and high-level data of all family members and relatives and friends can be managed by the scheme of the embodiment of the invention, clothes can be conveniently purchased by reference, the growth curve of a baby can be recorded, and the use experience of a user is improved.
EXAMPLE III
Referring to fig. 3, a schematic structural diagram of an information storage apparatus according to an embodiment of the present invention is shown, which may specifically include:
a target object determining module 310, configured to determine a target object according to a viewing interface of the mobile terminal; a labeling point adding module 320, configured to add a labeling point to the target object according to a set rule; a target attribute obtaining module 330, configured to obtain target attribute information of the target object according to the annotation point; the target attribute information comprises at least one of a length attribute, a width attribute, a height attribute and a three-dimensional attribute; and the target attribute storage module 340 is configured to store the target attribute information.
Preferably, the target attribute information includes at least one of a length attribute, a width attribute, a height attribute, and a three-dimensional attribute.
The information storage device provided by the embodiment of the invention determines the target object according to the view finding interface of the mobile terminal, adds the marking point to the target object according to the set rule, and acquires and stores the attribute information of the target object according to the marking point, wherein the target attribute information comprises at least one of length attribute, width attribute, height attribute and three-dimensional attribute, so that the embodiment of the invention can realize automatic measurement of the attribute information (such as information of length, width and the like) of the target object, avoids measurement by a user using a measuring tape and a pen, reduces the consumption of human resources, can store the measured attribute information in time, can clearly and intuitively record the size information of various commodities and the like, and improves the use experience of the user.
Example four
Referring to fig. 4, a schematic structural diagram of an information storage apparatus according to an embodiment of the present invention is shown, which may specifically include:
a target object determining module 410, configured to determine a target object according to a viewing interface of the mobile terminal; a labeling point adding module 420, configured to add a labeling point to the target object according to a set rule; a target attribute obtaining module 430, configured to obtain target attribute information of the target object according to the annotation point; the target attribute information comprises at least one of a length attribute, a width attribute, a height attribute and a three-dimensional attribute; a target object identifier obtaining module 440, configured to obtain a target object identifier corresponding to the target object; an obtaining time recording module 450, configured to record obtaining time corresponding to the target attribute information; and a target attribute storing module 460, configured to store the target attribute information.
Preferably, the annotation point adding module 420 comprises: a key point obtaining sub-module 4201, configured to obtain a plurality of key points of the target object; and a labeled point adding submodule 4202 for adding labeled points to the key points.
Preferably, the target attribute obtaining module 430 includes: a coordinate value obtaining submodule 4301, configured to obtain a three-dimensional coordinate value corresponding to each of the labeling points; and the target attribute obtaining submodule 4302 is configured to obtain target attribute information of the target object according to each three-dimensional coordinate value.
Preferably, the target attribute saving module 460 includes: the association relation storing sub-module 4601 is configured to establish an association relation between the target object identifier, the acquisition time, and the target attribute information, and store the association relation.
Preferably, after the target attribute saving module 460, the method further includes: the device comprises an object identifier acquisition module, a reference module and a reference module, wherein the object identifier acquisition module is used for acquiring a target object identifier corresponding to a reference operation when the reference operation executed by a user is monitored; the acquisition time and association attribute determining submodule is used for determining at least one acquisition time associated with the target object identifier and target attribute information corresponding to the acquisition time according to the association relation; and the association display module is used for displaying at least one acquisition time and the corresponding target attribute information in an association manner on a display interface of the mobile terminal.
The information storage device provided by the embodiment of the invention has the beneficial effects that the information storage device shown in the third embodiment can be combined with the target object identification and the acquisition time of the target attribute information to jointly store the target object identification, the acquisition time and the target attribute information, wherein the target attribute information comprises at least one of length attribute, width attribute, height attribute and three-dimensional attribute, so that the three-dimensional data information and high-level data of each family member and family member can be managed by the scheme provided by the embodiment of the invention, the clothes can be conveniently purchased by reference, the growth curve of a baby can be recorded, and the use experience of a user is improved.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 510, configured to determine a target object according to a viewing interface of the mobile terminal; adding a marking point to the target object according to a set rule; acquiring target attribute information of the target object according to the marking point; the target attribute information comprises at least one of a length attribute, a width attribute, a height attribute and a three-dimensional attribute; and saving the target attribute information.
In the embodiment of the invention, the target object is determined according to the viewing interface of the mobile terminal, the marking point is added to the target object according to the set rule, and the attribute information of the target object is obtained and stored according to the marking point, wherein the target attribute information comprises at least one of length attribute, width attribute, height attribute and three-dimensional attribute, so that the embodiment of the invention can realize automatic measurement of the attribute information (such as information of length, width and the like) of the target object, avoid the measurement of a user by using a measuring tape and a pen, reduce the consumption of human resources, store the measured attribute information in time, clearly and intuitively record the size information of various commodities and the like, and improve the use experience of the user.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program that is stored in the memory 509 and can be run on the processor 510, and when the computer program is executed by the processor 510, the processes of the information saving method embodiment are implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned information storage method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. An information storage method applied to a mobile terminal is characterized by comprising the following steps:
determining a target object according to a viewing interface of the mobile terminal;
adding a marking point to the target object according to a set rule;
acquiring target attribute information of the target object according to the marking point; the target attribute information comprises at least one of a length attribute, a width attribute, a height attribute and a three-dimensional attribute;
saving the target attribute information;
wherein the target object comprises an object and/or a human body;
when the target object is an object, adding a marking point to the target object according to a set rule, including: adding the marking points to the highest point, the lowest point, the left critical point and the right critical point of the object;
when the target object is a human body, adding a mark point to the target object according to a set rule, including: adding the marking points to critical points of the top, the sole and the shoulders of the human body and critical points of the two arms of the human body;
after the step of obtaining the target attribute information of the target object according to the annotation point, the method further includes:
acquiring a target object identifier corresponding to the target object;
recording the acquisition time corresponding to the target attribute information;
the step of saving the target attribute information includes:
and establishing an association relation among the target object identification, the acquisition time and the target attribute information, and storing the association relation.
2. The method according to claim 1, wherein the step of adding a mark point to the target object according to a set rule comprises:
acquiring a plurality of key points of the target object;
and adding a marking point for each key point.
3. The method according to claim 1, wherein the step of obtaining the target attribute information of the target object according to the annotation point comprises:
acquiring a three-dimensional coordinate value corresponding to each marking point;
and acquiring target attribute information of the target object according to the three-dimensional coordinate values.
4. The method of claim 1, further comprising, after the step of saving the target attribute information:
when a look-up operation executed by a user is monitored, acquiring a target object identifier corresponding to the look-up operation;
determining at least one acquisition time associated with the target object identifier and target attribute information corresponding to the acquisition time according to the association relationship;
and displaying at least one acquisition time and the corresponding target attribute information in a display interface of the mobile terminal in an associated manner.
5. An information holding apparatus, comprising:
the target object determining module is used for determining a target object according to a viewing interface of the mobile terminal;
the marking point adding module is used for adding marking points to the target object according to a set rule;
the target attribute acquisition module is used for acquiring target attribute information of the target object according to the marking point; the target attribute information comprises at least one of a length attribute, a width attribute, a height attribute and a three-dimensional attribute;
the target attribute storage module is used for storing the target attribute information;
wherein the target object comprises an object and/or a human body;
when the target object is an object, the marking point adding module is specifically configured to add the marking points to the highest point, the lowest point, the left critical point, and the right critical point of the object;
when the target object is a human body, the marking point adding module is specifically used for adding the marking points to critical points of the top, the sole and the shoulders and critical points of the two arms of the human body;
further comprising:
the target object identification acquisition module is used for acquiring a target object identification corresponding to the target object;
the acquisition time recording module is used for recording the acquisition time corresponding to the target attribute information;
the target attribute saving module comprises:
and the association relation storage submodule is used for establishing the association relation among the target object identification, the acquisition time and the target attribute information and storing the association relation.
6. The apparatus of claim 5, wherein the annotation point adding module comprises:
the key point acquisition sub-module is used for acquiring a plurality of key points of the target object;
and the labeling point adding submodule is used for adding a labeling point for each key point.
7. The apparatus of claim 5, wherein the target property obtaining module comprises:
the coordinate value acquisition submodule is used for acquiring a three-dimensional coordinate value corresponding to each marking point;
and the target attribute obtaining submodule is used for obtaining the target attribute information of the target object according to the three-dimensional coordinate values.
8. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the information holding method according to any one of claims 1 to 4.
CN201811205252.2A 2018-10-16 2018-10-16 Information storage method and device and mobile terminal Active CN109375856B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811205252.2A CN109375856B (en) 2018-10-16 2018-10-16 Information storage method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811205252.2A CN109375856B (en) 2018-10-16 2018-10-16 Information storage method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN109375856A CN109375856A (en) 2019-02-22
CN109375856B true CN109375856B (en) 2021-06-25

Family

ID=65400704

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811205252.2A Active CN109375856B (en) 2018-10-16 2018-10-16 Information storage method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN109375856B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992252A (en) * 2017-11-28 2018-05-04 网易(杭州)网络有限公司 Information cuing method, device, electronic equipment and storage medium
CN108090970A (en) * 2018-01-08 2018-05-29 北京小米移动软件有限公司 Object display methods and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992252A (en) * 2017-11-28 2018-05-04 网易(杭州)网络有限公司 Information cuing method, device, electronic equipment and storage medium
CN108090970A (en) * 2018-01-08 2018-05-29 北京小米移动软件有限公司 Object display methods and device

Also Published As

Publication number Publication date
CN109375856A (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN109381165B (en) Skin detection method and mobile terminal
CN108491123B (en) Method for adjusting application program icon and mobile terminal
CN107846352B (en) Information display method and mobile terminal
CN109409244B (en) Output method of object placement scheme and mobile terminal
CN109005336B (en) Image shooting method and terminal equipment
CN108683850B (en) Shooting prompting method and mobile terminal
CN109343759A (en) A kind of control method and terminal of the display of breath screen
CN110531915B (en) Screen operation method and terminal equipment
CN108600089B (en) Expression image display method and terminal equipment
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN110113528A (en) A kind of parameter acquiring method and terminal device
CN107864336B (en) A kind of image processing method, mobile terminal
CN108132752A (en) A kind of method for editing text and mobile terminal
US20230014409A1 (en) Detection result output method, electronic device and medium
CN110162653B (en) Image-text sequencing recommendation method and terminal equipment
CN108897473A (en) A kind of interface display method and terminal
CN108196781B (en) Interface display method and mobile terminal
CN110096203A (en) A kind of screenshot method and mobile terminal
CN109472825B (en) Object searching method and terminal equipment
CN110784394A (en) Prompting method and electronic equipment
CN110795002A (en) Screenshot method and terminal equipment
CN109740493A (en) A kind of target object recommended method and mobile terminal
CN111200648B (en) Service calling method, device, terminal equipment and storage medium
CN111079032A (en) Information recommending method and electronic equipment
CN110750318A (en) Message reply method and device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant