CN105737951A - Terminal weighing method and terminal - Google Patents

Terminal weighing method and terminal Download PDF

Info

Publication number
CN105737951A
CN105737951A CN201610069830.9A CN201610069830A CN105737951A CN 105737951 A CN105737951 A CN 105737951A CN 201610069830 A CN201610069830 A CN 201610069830A CN 105737951 A CN105737951 A CN 105737951A
Authority
CN
China
Prior art keywords
coin
weight
weighed
terminal
currency value
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.)
Granted
Application number
CN201610069830.9A
Other languages
Chinese (zh)
Other versions
CN105737951B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610069830.9A priority Critical patent/CN105737951B/en
Publication of CN105737951A publication Critical patent/CN105737951A/en
Application granted granted Critical
Publication of CN105737951B publication Critical patent/CN105737951B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G15/00Arrangements for check-weighing of materials dispensed into removable containers
    • G01G15/02Arrangements for check-weighing of materials dispensed into removable containers with provision for adding or removing a make-up quantity of material to obtain the desired net weight
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01GWEIGHING
    • G01G15/00Arrangements for check-weighing of materials dispensed into removable containers
    • G01G15/02Arrangements for check-weighing of materials dispensed into removable containers with provision for adding or removing a make-up quantity of material to obtain the desired net weight
    • G01G2015/022Arrangements for check-weighing of materials dispensed into removable containers with provision for adding or removing a make-up quantity of material to obtain the desired net weight using electrical, electromechanical or electronic means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The embodiment of the invention discloses a terminal weighing method comprising the steps that the weighing function of a terminal is started, and a target coin value selected by a user is acquired; the coin weight and the coin size corresponding to the target coin value are determined according to the corresponding relation of the preset coin value and coin information; a coin placing area is outputted to the user operation interface of the terminal according to the coin size; when a situation that an object to be weighed is placed on a coin placed on the coin placing area is detected, the total weight of the object to be weighed and the coin of the target coin value is acquired; and the coin weight corresponding to the target coin value is subtracted from the total weight so that the weight of the object to be weighed is obtained, and the weight of the object to be weighed is outputted to the user operation interface of the terminal. The embodiment of the invention also discloses the terminal. With application of the terminal weighing method, the terminal weighing method has advantages that applicability of terminal weighing can be enhanced and flexibility of terminal weighing can be enhanced.

Description

A kind of method that terminal is weighed and terminal
Technical field
The present invention relates to electronic technology field, particularly relate to method and terminal that a kind of terminal is weighed.
Background technology
Current becoming increasingly popular along with terminals such as mobile phones, cell-phone function is day by day perfect, and mobile phone is also day by day close with the daily life of user.User can pass through surfing Internet with cell phone, reading, object for appreciation game or chat etc., also can be used as electronic scale by mobile phone.The advantages such as touch screen is simple with touch operation, convenient and natural, and the good man-machine interaction experience that touch screen provides makes it be widely applied.Mobile phone can realize the function of electronic scale by touch screen.
In prior art, realized the function of electronic scale by the touch controllable function of its touch screen with the mobile phone of 3D touch controllable function, but the function of weighing of existing mobile phone is only used for weighing for the object of particular category, and the weight of object is also in the weight range of a regulation, the scope of application is little, very flexible.
Summary of the invention
The embodiment of the present invention provides a kind of method weighed of terminal and terminal, can strengthen the suitability that terminal is weighed, and improves the motility that terminal is weighed.
Embodiments providing a kind of method that terminal is weighed, it comprises the steps that
Start the function of weighing of terminal, and obtain the target coin currency value that user selectes;
Corresponding relation according to preset coin currency value Yu coin information, it is determined that coin weight that described target coin currency value is corresponding and coin dimensions;
Exporting coin according to described coin dimensions and place the region user interface to described terminal, place on region to indicate user that the coin of described target coin currency value is placed on described coin, described coin is used for carrying object to be weighed;
When detecting that described object to be weighed is placed on described coin placement region on the coin placed, obtain the gross weight of described object to be weighed and the coin of described target coin currency value;
Described gross weight is deducted coin weight corresponding to described target coin currency value to obtain the weight of described object to be weighed, and the weight of described object to be weighed is exported the user interface to described terminal.
Wherein, before the function of weighing of described startup terminal, described method also includes:
Obtaining the coin information of multiple coin currency value, wherein, described coin information includes: coin weight and coin dimensions;
Set up the corresponding relation of each coin currency value and coin weight, coin dimensions, and described corresponding relation is stored the designated memory space to described terminal.
Wherein, described coin currency value includes: at least one in 1 yuan, 5 jiaos and 1 jiao;
Described target coin currency value is any one in described 1 yuan, 5 jiaos and 1 jiao.
Wherein, after the described user interface exporting coin placement region extremely described terminal according to described coin dimensions, described method also includes:
When detect described coin place region is placed with coin time, obtain the weight of described coin, and the coin weight that the weight of described coin is corresponding with described target coin currency value compared;
When the coin weight that the weight of described coin is corresponding with described target coin currency value is identical, output is weighed and is verified user's display interface of successful instruction information extremely described terminal.
Wherein, described output is weighed after the user's display interface verifying successful instruction information extremely described terminal, and described method also includes:
Export initial weight registration user's display interface to described terminal of object to be weighed;
Wherein, the initial weight registration of described object to be weighed is described object to be weighed is weight registration during sky.
The embodiment of the present invention additionally provides a kind of terminal, and it comprises the steps that
Start module, for starting the function of weighing of terminal, and obtain the target coin currency value that user selectes;
Determine module, for corresponding relation according to preset coin currency value Yu coin information, it is determined that coin weight that the described target coin currency value of described startup module acquisition is corresponding and coin dimensions;
Region indicating module, places the region user interface to described terminal for exporting coin according to described coin dimensions, places on region to indicate user that the coin of described target coin currency value is placed on described coin, and described coin is used for carrying object to be weighed;
Weight measurement module, for when detecting that described object to be weighed is placed on described coin placement region on the coin placed, obtaining the gross weight of described object to be weighed and the coin of described target coin currency value;
Weight output module, for the described gross weight that described weight measurement module obtains being deducted coin weight corresponding to described target coin currency value to obtain the weight of described object to be weighed, and the weight of described object to be weighed is exported the user interface to described terminal.
Wherein, described terminal also includes:
Module is set, for obtaining the coin information of multiple coin currency value, sets up the corresponding relation of each coin currency value and coin weight, coin dimensions, and described corresponding relation is stored the designated memory space to described terminal;
Wherein, described coin information includes: coin weight and coin dimensions.
Wherein, described coin currency value includes: at least one in 1 yuan, 5 jiaos and 1 jiao;
Described target coin currency value is any one in described 1 yuan, 5 jiaos and 1 jiao.
Wherein, described terminal also includes:
Correction verification module, for when detect described coin place region is placed with coin time, obtain the weight of described coin, and the coin weight that the weight of described coin is corresponding with described target coin currency value is compared, when the coin weight that the weight of described coin is corresponding with described target coin currency value is identical, output is weighed and is verified user's display interface of successful instruction information extremely described terminal.
Wherein, described correction verification module is additionally operable to:
After the user's display interface verifying successful instruction information extremely described terminal is weighed in output, export initial weight registration user's display interface to described terminal of object to be weighed;
Wherein, the initial weight registration of described object to be weighed is described object to be weighed is weight registration during sky.
Implement the embodiment of the present invention, have the advantages that
The embodiment of the present invention can after starting the function of weighing of terminal, the coin weight and coin dimensions that target coin currency value is corresponding is determined according to the target coin currency value that user selectes, and then coin placement region can be exported to the user interface of terminal according to the coin dimensions of target coin currency value, place region in order to indicate user that the coin of the target coin currency value for carrying object to be weighed is placed on above-mentioned coin.When object to be weighed is placed on above-mentioned coin, the gross weight of object and coin can be obtained, and then the weight according to above-mentioned gross mass removing coin obtains the weight of object to be weighed and exports the user interface to terminal, consult for user, enhance the suitability that terminal is weighed, improve the motility that terminal is weighed.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme in the embodiment of the present invention, below the accompanying drawing used required during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method that the terminal that the embodiment of the present invention provides is weighed;
Fig. 2 is the schematic diagram that region placed by the coin on the user interface of the terminal that the embodiment of the present invention provides;
Fig. 3 is a structural representation of the terminal that the embodiment of the present invention provides;
Fig. 4 is another structural representation of the terminal that the embodiment of the present invention provides;
Fig. 5 is another structural representation of the terminal that the embodiment of the present invention provides.
Detailed description of the invention
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 clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
In implementing, the terminal described in the embodiment of the present invention concretely: mobile phone, panel computer, notebook computer, wearable device or walkman etc., do not limit at this.Below will for mobile phone, method and terminal that the terminal that the embodiment of the present invention is provided is weighed are described.
Referring to the schematic flow sheet that Fig. 1, Fig. 1 are the methods that the terminal that the embodiment of the present invention provides is weighed.The method that the terminal that the embodiment of the present invention provides is weighed, including step:
S101, starts the function of weighing of terminal, and obtains the target coin currency value that user selectes.
In the embodiment that some are feasible, mobile phone can use many moneys coin to carry object to be weighed, and the value of money of the coin of different styles is different, and size also differs.Various sizes of coin can be used for carrying the object of different volumes size, and then the scope of application of the function of weighing of terminal can be made wider, and washability is higher.In implementing, mobile phone can pre-set the coin currency value of many moneys coin and the corresponding relation of coin information, and then can determine corresponding coin information according to the target coin currency value that user selectes.
In implementing, mobile phone can obtain the coin information of multiple coin currency value, i.e. the coin information of different coin currency values.Wherein, above-mentioned coin information comprises the steps that coin weight and coin dimensions, i.e. the corresponding coin weight of the coin of each coin currency value and coin dimensions.After mobile phone obtains the coin information of each coin currency value, then can set up the corresponding relation of each coin currency value and coin weight, coin dimensions, and above-mentioned corresponding relation is stored the designated memory space to mobile phone.Wherein, the internal memory of above-mentioned designated memory space concretely mobile phone, or the outer extension memory such as SD card, or cloud storage space etc., do not limit at this.Above-mentioned coin currency value includes: 1 yuan, 5 jiaos and 1 jiao etc., and above-mentioned target coin currency value is any one in above-mentioned 1 yuan, 5 jiaos and 1 jiao concretely, does not limit at this.Such as table 1, table 1 is the mapping table of the preset coin currency value of mobile phone and coin information:
Table 1
Coin currency value 1 yuan 5 jiaos 1 jiao
Coin weight 6.10 grams 3.80 grams 3.20 grams
Coin dimensions 25 millimeters 20.5 millimeter 19 millimeters
Wherein, the numerical value of the coin information that various coin currency values shown in above-mentioned table 1 are corresponding is only citing, specifically can set according to measurement result in practical application, not limit at this.
In the embodiment that some are feasible, after mobile phone is prefixed the corresponding relation of the coin currency value shown in above-mentioned table 1 and coin information, it is necessary to when using the function of weighing of mobile phone, then can start the function of weighing of mobile phone.After starting the function of weighing of mobile phone, then the option information of exportable above-mentioned multiple coin currency value is to the user interface of mobile phone, selects target coin currency value for cellphone subscriber.Mobile phone can obtain the target coin currency value that user selectes, for instance 1 yuan, and then can determine that corresponding coin information, including the information such as weight and size of 1 yuan of coin, to enter the duty of mobile phone function of weighing.
S102, the corresponding relation according to preset coin currency value Yu coin information, it is determined that coin weight that described target coin currency value is corresponding and coin dimensions.
In the embodiment that some are feasible, after mobile phone is prefixed the corresponding relation of coin currency value and coin information, when mobile phone acquires the target coin currency value that user selectes, can inquire about, according to above-mentioned target coin currency value, the various coin currency values comprised in above-mentioned corresponding relation, and then can determine, by the coupling of coin currency value, the coin weight and coin dimensions that above-mentioned target coin currency value is corresponding.Such as, it is 1 yuan when mobile phone acquires the target coin currency value that user selectes, then the corresponding relation can enumerated from above-mentioned table 1 is searched coin weight 6.10 grams and coin dimensions 25 millimeters that coin currency value is 1 yuan.Wherein, the diameter of above-mentioned coin dimensions concretely coin, do not limit at this.
S103, exports coin according to described coin dimensions and places the region user interface to described terminal, places on region to indicate user that the coin of described target coin currency value is placed on described coin.
In the embodiment that some are feasible, mobile phone then can export coin according to above-mentioned coin dimensions and place the region user interface to mobile phone after determining coin weight corresponding to target coin currency value that user selectes and coin dimensions.If Fig. 2, Fig. 2 are the schematic diagrams that region placed by the coin on the user interface of the mobile phone that the embodiment of the present invention provides, region placed by the corresponding different size of coin of different coin dimensions.Wherein, mobile phone output to the coin on user interface is placed region and is comprised the steps that the coin of 1 yuan is placed region (namely coin currency value is the placement region of the coin of 1 yuan), the coin placement region of 5 jiaos and the coin of 1 jiao and placed region etc..Concrete, the touch screen of the user interface of the mobile phone described in the embodiment of the present invention concretely mobile phone or touch screen etc., do not limit at this.Mobile phone exports coin according to coin dimensions and places the region user interface to mobile phone, may be used to instruction user and is placed on by the coin of target coin currency value on above-mentioned coin placement region.Wherein, above-mentioned coin is used for carrying object to be weighed.That is, object to be weighed can be placed in and weighs on above-mentioned coin.
In the embodiment that some are feasible, after the coin of target coin currency value is placed on above-mentioned coin placement region by user, the coin placed then can be verified by mobile phone, it is determined that whether the coin of placement is identical with the Coin-kind that the coin of instruction on user interface places region corresponding.When mobile phone detects and is placed with coin on its user interface, mobile phone can obtain the weight of described coin, and the coin weight that the weight of described coin is corresponding with the target coin currency value that above-mentioned inquiry obtains is compared.When mobile phone verification obtain the weight of the coin coin weight corresponding with the target coin currency value that above-mentioned inquiry obtains identical time, then can determine that and verify successfully, now exportable the weighing of mobile phone verifies successful instruction information to its user's display interface.Further, after mobile phone determines that coin verifies successfully, also the initial weight registration of exportable object to be weighed is to user's display interface, and wherein, the initial weight registration of above-mentioned object to be weighed is object to be weighed is weight registration during sky.That is, when object to be weighed is not also placed on coin by user, first mobile phone can export an initial weight registration, for instance 0g etc..When object to be weighed is placed on above-mentioned coin by user, mobile phone then can update above-mentioned initial weight registration according to the weight of object to be weighed, and above-mentioned initial weight registration changes to the weight of object to be weighed.
S104, when detecting that described object to be weighed is placed on described coin placement region on the coin placed, obtains the gross weight of described object to be weighed and the coin of described target coin currency value.
In the embodiment that some are feasible, after coin is verified successfully by mobile phone, then the weight of coin can be monitored, to detect, whether coin be placed with object to be weighed.When change by a relatively large margin occurs the weight that mobile phone detects coin, then can determine that needing weighting objects is placed on above-mentioned coin and places on the coin placed on region, and then weighing of object to be weighed can be carried out.In implementing, when mobile phone detection obtain object to be weighed be placed on coin place on the coin placed on region time, mobile phone can obtain the gross weight of object to be weighed and the coin of target coin currency value, and then determine the weight of object to be weighed in combinations with the coin weight that the above-mentioned target coin currency value inquired is corresponding.
S105, deducts coin weight corresponding to described target coin currency value to obtain the weight of described object to be weighed by described gross weight, and the weight of described object to be weighed is exported the user interface to described terminal.
In the embodiment that some are feasible, above-mentioned gross mass can be deducted coin weight corresponding to the above-mentioned target coin currency value inquired to obtain the weight of object to be weighed after acquiring the gross mass of the coin of object to be weighed and target coin currency value by mobile phone.After handset processes obtains the weight of object to be weighed, then the weight of above-mentioned object to be weighed can be exported to the user interface of mobile phone.Concrete, mobile phone can update the initial weight registration on above-mentioned user interface according to the weight of object to be weighed, and above-mentioned initial weight registration changes to the weight of object to be weighed.Such as, when the gross weight that mobile phone acquires object to be weighed and coin is 10.00 grams, due to mobile phones enquiring to the weight of target coin currency value (1 yuan of coin) be 6.10 grams, now mobile phone can determine that the weight of object to be weighed is 10.00-6.10=3.90 gram, and then the weight (3.90 grams) of above-mentioned object to be weighed can be exported the user's display interface to mobile phone.
In embodiments of the present invention, mobile phone can preset the corresponding relation of coin currency value and coin information, and stores above-mentioned corresponding relation to designated memory space.After function of weighing starts, mobile phone then can determine, according to the target coin currency value that user selectes, the coin weight and coin dimensions that target coin currency value is corresponding, and then coin placement region can be exported to the user interface of mobile phone according to the coin dimensions of target coin currency value, place region in order to indicate user that the coin of the target coin currency value for carrying object to be weighed is placed on above-mentioned coin.When object to be weighed is placed on above-mentioned coin, mobile phone can obtain the gross weight of object and coin, and then the weight according to above-mentioned gross mass removing coin obtains the weight of object to be weighed and exports the user interface to terminal, consult for user, enhance the suitability of the function of weighing of mobile phone, improve the motility that mobile phone is weighed.
Referring to the structural representation that Fig. 3, Fig. 3 are the terminals that the embodiment of the present invention provides.Terminal described in the embodiment of the present invention, including:
Start module 10, for starting the function of weighing of terminal, and obtain the target coin currency value that user selectes.
Determine module 20, for corresponding relation according to preset coin currency value Yu coin information, it is determined that coin weight that the described target coin currency value of described startup module acquisition is corresponding and coin dimensions.
Region indicating module 30, the region user interface to described terminal is placed for exporting coin according to described coin dimensions, placing on region to indicate user that the coin of described target coin currency value is placed on described coin, described coin is used for carrying object to be weighed.
Weight measurement module 40, for when detecting that described object to be weighed is placed on described coin placement region on the coin placed, obtaining the gross weight of described object to be weighed and the coin of described target coin currency value.
Weight output module 50, for the described gross weight that described weight measurement module obtains being deducted coin weight corresponding to described target coin currency value to obtain the weight of described object to be weighed, and the weight of described object to be weighed is exported the user interface to described terminal.
In the embodiment that some are feasible, it is another structural representation of the terminal that the embodiment of the present invention provides referring to Fig. 4, Fig. 4.Terminal described in the embodiment of the present invention, also includes:
Module 60 is set, for obtaining the coin information of multiple coin currency value, sets up the corresponding relation of each coin currency value and coin weight, coin dimensions, and described corresponding relation is stored the designated memory space to described terminal;
Wherein, described coin information includes: coin weight and coin dimensions.
Correction verification module 70, for when detect described coin place region is placed with coin time, obtain the weight of described coin, and the coin weight that the weight of described coin is corresponding with described target coin currency value is compared, when the coin weight that the weight of described coin is corresponding with described target coin currency value is identical, output is weighed and is verified user's display interface of successful instruction information extremely described terminal.
In the embodiment that some are feasible, above-mentioned correction verification module 70 is additionally operable to:
After the user's display interface verifying successful instruction information extremely described terminal is weighed in output, export initial weight registration user's display interface to described terminal of object to be weighed;
Wherein, the initial weight registration of described object to be weighed is described object to be weighed is weight registration during sky.
In the embodiment that some are feasible, mobile phone can use many moneys coin to carry object to be weighed, and the value of money of the coin of different styles is different, and size also differs.Various sizes of coin can be used for carrying the object of different volumes size, and then the scope of application of the function of weighing of terminal can be made wider, and washability is higher.In implementing, mobile phone can pass through to arrange module 60 and pre-set the coin currency value of many moneys coin and the corresponding relation of coin information, and then can be determined by the target coin currency value that module 20 selectes according to user and determine corresponding coin information.
In implementing, module 60 is set and can obtain the coin information of multiple coin currency value, i.e. the coin information of different coin currency values.Wherein, above-mentioned coin information comprises the steps that coin weight and coin dimensions, i.e. the corresponding coin weight of the coin of each coin currency value and coin dimensions.After the coin information that module 60 obtains each coin currency value is set, then can set up the corresponding relation of each coin currency value and coin weight, coin dimensions, and above-mentioned corresponding relation is stored the designated memory space to mobile phone.Wherein, the internal memory of above-mentioned designated memory space concretely mobile phone, or the outer extension memory such as SD card, or cloud storage space etc., do not limit at this.Above-mentioned coin currency value includes: 1 yuan, 5 jiaos and 1 jiao etc., and above-mentioned target coin currency value is any one in above-mentioned 1 yuan, 5 jiaos and 1 jiao concretely, does not limit at this.Such as table 1, table 1 is the mapping table of the preset coin currency value of mobile phone and coin information.The numerical value of the coin information that various coin currency values shown in above-mentioned table 1 are corresponding is only citing, specifically can set according to measurement result in practical application, not limit at this.
In the embodiment that some are feasible, after the corresponding relation that module 60 is prefixed the coin currency value shown in above-mentioned table 1 and coin information is set, it is necessary to when using the function of weighing of mobile phone, then can pass through to start module 10 and start the function of weighing of mobile phone.After starting the function of weighing that module 10 starts mobile phone, then the option information of exportable above-mentioned multiple coin currency value is to the user interface of mobile phone, selects target coin currency value for cellphone subscriber.Starting module 10 and can obtain the target coin currency value that user selectes, for instance 1 yuan, and then can be determined by module 20 and determine corresponding coin information, the information such as including the weight of 1 yuan of coin and size, to enter the duty of mobile phone function of weighing.
In the embodiment that some are feasible, after the corresponding relation that module 60 is prefixed coin currency value and coin information is set, when starting module 10 and acquiring the target coin currency value that user selectes, determine that module 20 can inquire about, according to above-mentioned target coin currency value, the various coin currency values comprised in above-mentioned corresponding relation, and then can determine, by the coupling of coin currency value, the coin weight and coin dimensions that above-mentioned target coin currency value is corresponding.Such as, when starting module 10, to acquire the target coin currency value that user selectes be 1 yuan, it is determined that searches coin weight 6.10 grams and coin dimensions 25 millimeters that coin currency value is 1 yuan in the corresponding relation that module 20 then can be enumerated from above-mentioned table 1.Wherein, the diameter of above-mentioned coin dimensions concretely coin, do not limit at this.
In the embodiment that some are feasible, after determining that module 20 determines coin weight corresponding to target coin currency value that user selectes and coin dimensions, region indicating module 30 then can export coin according to above-mentioned coin dimensions and place the region user interface to mobile phone.If Fig. 2, Fig. 2 are the schematic diagrams that region placed by the coin on the user interface of the mobile phone that the embodiment of the present invention provides, region placed by the corresponding different size of coin of different coin dimensions.Wherein, mobile phone output to the coin on user interface is placed region and is comprised the steps that the coin of 1 yuan is placed region (namely coin currency value is the placement region of the coin of 1 yuan), the coin placement region of 5 jiaos and the coin of 1 jiao and placed region etc..Concrete, the touch screen of the user interface of the mobile phone described in the embodiment of the present invention concretely mobile phone or touch screen etc., do not limit at this.Region indicating module 30 exports coin according to coin dimensions and places the region user interface to mobile phone, may be used to instruction user and is placed on by the coin of target coin currency value on above-mentioned coin placement region.Wherein, above-mentioned coin is used for carrying object to be weighed.That is, object to be weighed can be placed in and weighs on above-mentioned coin.
In the embodiment that some are feasible, after the coin of target coin currency value is placed on above-mentioned coin placement region by user, the coin placed then can be verified by correction verification module 70, it is determined that whether the coin of placement is identical with the Coin-kind that the coin of instruction on user interface places region corresponding.When correction verification module 70 detects and is placed with coin on its user interface, the weight of described coin can be obtained, and the coin weight that the weight of described coin is corresponding with the target coin currency value that above-mentioned inquiry obtains is compared.When correction verification module 70 verification obtain the weight of the coin coin weight corresponding with the target coin currency value that above-mentioned inquiry obtains identical time, then can determine that and verify successfully, now exportable the weighing of correction verification module 70 verifies successful instruction information to its user's display interface.Further, after correction verification module 70 determines that coin verifies successfully, also the initial weight registration of exportable object to be weighed is to user's display interface, and wherein, the initial weight registration of above-mentioned object to be weighed is object to be weighed is weight registration during sky.That is, when object to be weighed is not also placed on coin by user, first correction verification module 70 can export an initial weight registration, for instance 0g etc..When object to be weighed is placed on above-mentioned coin by user, weight output module 50 then can update above-mentioned initial weight registration according to the weight of object to be weighed, and above-mentioned initial weight registration changes to the weight of object to be weighed.
In the embodiment that some are feasible, after coin is verified successfully by correction verification module 70, the weight of coin then can be monitored by weight measurement module 40, whether is placed with object to be weighed to detect on coin.When change by a relatively large margin occurs the weight that weight measurement module 40 detects coin, then can determine that needing weighting objects is placed on above-mentioned coin and places on the coin placed on region, and then weighing of object to be weighed can be carried out.In implementing, when weight measurement module 40 detection obtain object to be weighed be placed on coin place on the coin placed on region time, the gross weight of object to be weighed and the coin of target coin currency value can be obtained, and then determine the weight of object to be weighed in combinations with the coin weight that the above-mentioned target coin currency value inquired is corresponding.
In the embodiment that some are feasible, after weight measurement module 40 acquires the gross mass of the coin of object to be weighed and target coin currency value, the gross mass that above-mentioned weight measurement module 40 acquires can be deducted coin weight corresponding to the above-mentioned target coin currency value determining that module 20 inquires to obtain the weight of object to be weighed by weight output module 50.After weight output module 50 processes the weight obtaining object to be weighed, then the weight of above-mentioned object to be weighed can be exported to the user interface of mobile phone.Concrete, weight output module 50 can update the initial weight registration on above-mentioned user interface according to the weight of object to be weighed, and above-mentioned initial weight registration changes to the weight of object to be weighed.Such as, when the gross weight that weight measurement module 40 acquires object to be weighed and coin is 10.00 grams, due to mobile phones enquiring to the weight of target coin currency value (1 yuan of coin) be 6.10 grams, now weight output module 50 can determine that the weight of object to be weighed is 10.00-6.10=3.90 gram, and then the weight (3.90 grams) of above-mentioned object to be weighed can be exported the user's display interface to mobile phone.
In embodiments of the present invention, mobile phone can preset the corresponding relation of coin currency value and coin information, and stores above-mentioned corresponding relation to designated memory space.After function of weighing starts, mobile phone then can determine, according to the target coin currency value that user selectes, the coin weight and coin dimensions that target coin currency value is corresponding, and then coin placement region can be exported to the user interface of mobile phone according to the coin dimensions of target coin currency value, place region in order to indicate user that the coin of the target coin currency value for carrying object to be weighed is placed on above-mentioned coin.When object to be weighed is placed on above-mentioned coin, mobile phone can obtain the gross weight of object and coin, and then the weight according to above-mentioned gross mass removing coin obtains the weight of object to be weighed and exports the user interface to terminal, consult for user, enhance the suitability of the function of weighing of mobile phone, improve the motility that mobile phone is weighed.
Referring to another example structure schematic diagram that Fig. 5, Fig. 5 are the terminals that the embodiment of the present invention provides.Terminal described in the embodiment of the present invention, including: at least one input equipment 1001;At least one outut device 1002;At least one processor 1003, for instance CPU;With memorizer 1004, above-mentioned input equipment 1001, outut device 1002, processor 1003 and memorizer 1004 are connected by bus 1005.
Above-mentioned memorizer 1004 can be high-speed RAM memorizer, it is possible to for non-labile memorizer (non-volatilememory), for instance disk memory.Certain functional module that above-mentioned input equipment 1001 is corresponding with the touch screen of outut device 1002 concretely terminal or touch screen, does not limit at this.
Wherein, above-mentioned memorizer 1004 is used for storing batch processing code, and above-mentioned input equipment 1001, outut device 1002 and processor 1003, for calling the program code of storage in memorizer 1004, perform following operation:
Above-mentioned processor 1003, for starting the function of weighing of terminal.
Above-mentioned input equipment 1001, for obtaining the target coin currency value that user selectes.
Above-mentioned processor 1003, is additionally operable to the corresponding relation of coin currency value according to preset and coin information, it is determined that coin weight that described target coin currency value that input equipment 1001 obtains is corresponding and coin dimensions.
Above-mentioned outut device 1002, places the region user interface to described terminal for exporting coin according to described coin dimensions, places on region to indicate user that the coin of described target coin currency value is placed on described coin.
Above-mentioned processor 1003, it is additionally operable to when detecting that described object to be weighed is placed on described coin placement region on the coin placed, obtain the gross weight of described object to be weighed and the coin of described target coin currency value, described gross weight is deducted coin weight corresponding to described target coin currency value to obtain the weight of described object to be weighed.
Above-mentioned outut device 1002, is additionally operable to the weight of described object to be weighed is exported the user interface to described terminal.
In the embodiment that some are feasible, above-mentioned input equipment 1001, it is additionally operable to obtain the coin information of multiple coin currency value, wherein, described coin information includes: coin weight and coin dimensions.
Above-mentioned processor 1003, is additionally operable to the corresponding relation setting up each coin currency value with coin weight, coin dimensions, and described corresponding relation is stored the designated memory space to described terminal.
In the embodiment that some are feasible, described coin currency value includes: at least one in 1 yuan, 5 jiaos and 1 jiao;
Described target coin currency value is any one in described 1 yuan, 5 jiaos and 1 jiao.
In the embodiment that some are feasible, above-mentioned processor 1003 is additionally operable to:
When detect described coin place region is placed with coin time, obtain the weight of described coin, and the coin weight that the weight of described coin is corresponding with described target coin currency value compared;
When the coin weight that the weight of described coin is corresponding with described target coin currency value is identical, is weighed by outut device 1002 output and verify user's display interface of successful instruction information extremely described terminal.
In the embodiment that some are feasible, above-mentioned outut device 1002 is additionally operable to:
Export initial weight registration user's display interface to described terminal of object to be weighed;
Wherein, the initial weight registration of described object to be weighed is described object to be weighed is weight registration during sky.
In implementing, the implementation described in the embodiment of method that the terminal that terminal described in the embodiment of the present invention can perform the embodiment of the present invention by its built-in modules (input equipment 1001, outut device 1002 and processor 1003 etc.) and provides is weighed, also the implementation described by embodiment of the terminal that the embodiment of the present invention provides can be performed, the process of implementing referring to each embodiment above-mentioned, can not repeat them here.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
Above disclosed it is only present pre-ferred embodiments, certainly can not limit the interest field of the present invention, the equivalent variations therefore made according to the claims in the present invention with this, still belong to the scope that the present invention contains.

Claims (10)

1. the method that a terminal is weighed, it is characterised in that including:
Start the function of weighing of terminal, and obtain the target coin currency value that user selectes;
Corresponding relation according to preset coin currency value Yu coin information, it is determined that coin weight that described target coin currency value is corresponding and coin dimensions;
Exporting coin according to described coin dimensions and place the region user interface to described terminal, place on region to indicate user that the coin of described target coin currency value is placed on described coin, described coin is used for carrying object to be weighed;
When detecting that described object to be weighed is placed on described coin placement region on the coin placed, obtain the gross weight of described object to be weighed and the coin of described target coin currency value;
Described gross weight is deducted coin weight corresponding to described target coin currency value to obtain the weight of described object to be weighed, and the weight of described object to be weighed is exported the user interface to described terminal.
2. the method for claim 1, it is characterised in that before the function of weighing of described startup terminal, described method also includes:
Obtaining the coin information of multiple coin currency value, wherein, described coin information includes: coin weight and coin dimensions;
Set up the corresponding relation of each coin currency value and coin weight, coin dimensions, and described corresponding relation is stored the designated memory space to described terminal.
3. method as claimed in claim 2, it is characterised in that described coin currency value includes: at least one in 1 yuan, 5 jiaos and 1 jiao;
Described target coin currency value is any one in described 1 yuan, 5 jiaos and 1 jiao.
4. the method as described in any one of claim 1-3, it is characterised in that after the described user interface exporting coin placement region extremely described terminal according to described coin dimensions, described method also includes:
When detect described coin place region is placed with coin time, obtain the weight of described coin, and the coin weight that the weight of described coin is corresponding with described target coin currency value compared;
When the coin weight that the weight of described coin is corresponding with described target coin currency value is identical, output is weighed and is verified user's display interface of successful instruction information extremely described terminal.
5. method as claimed in claim 4, it is characterised in that described output is weighed after the user's display interface verifying successful instruction information extremely described terminal, and described method also includes:
Export initial weight registration user's display interface to described terminal of object to be weighed;
Wherein, the initial weight registration of described object to be weighed is described object to be weighed is weight registration during sky.
6. a terminal, it is characterised in that including:
Start module, for starting the function of weighing of terminal, and obtain the target coin currency value that user selectes;
Determine module, for corresponding relation according to preset coin currency value Yu coin information, it is determined that coin weight that the described target coin currency value of described startup module acquisition is corresponding and coin dimensions;
Region indicating module, places the region user interface to described terminal for exporting coin according to described coin dimensions, places on region to indicate user that the coin of described target coin currency value is placed on described coin, and described coin is used for carrying object to be weighed;
Weight measurement module, for when detecting that described object to be weighed is placed on described coin placement region on the coin placed, obtaining the gross weight of described object to be weighed and the coin of described target coin currency value;
Weight output module, for the described gross weight that described weight measurement module obtains being deducted coin weight corresponding to described target coin currency value to obtain the weight of described object to be weighed, and the weight of described object to be weighed is exported the user interface to described terminal.
7. terminal as claimed in claim 6, it is characterised in that described terminal also includes:
Module is set, for obtaining the coin information of multiple coin currency value, sets up the corresponding relation of each coin currency value and coin weight, coin dimensions, and described corresponding relation is stored the designated memory space to described terminal;
Wherein, described coin information includes: coin weight and coin dimensions.
8. terminal as claimed in claim 7, it is characterised in that described coin currency value includes: at least one in 1 yuan, 5 jiaos and 1 jiao;
Described target coin currency value is any one in described 1 yuan, 5 jiaos and 1 jiao.
9. the terminal as described in any one of claim 6-8, it is characterised in that described terminal also includes:
Correction verification module, for when detect described coin place region is placed with coin time, obtain the weight of described coin, and the coin weight that the weight of described coin is corresponding with described target coin currency value is compared, when the coin weight that the weight of described coin is corresponding with described target coin currency value is identical, output is weighed and is verified user's display interface of successful instruction information extremely described terminal.
10. terminal as claimed in claim 9, it is characterised in that described correction verification module is additionally operable to:
After the user's display interface verifying successful instruction information extremely described terminal is weighed in output, export initial weight registration user's display interface to described terminal of object to be weighed;
Wherein, the initial weight registration of described object to be weighed is described object to be weighed is weight registration during sky.
CN201610069830.9A 2016-01-29 2016-01-29 The method and terminal that a kind of terminal is weighed Expired - Fee Related CN105737951B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610069830.9A CN105737951B (en) 2016-01-29 2016-01-29 The method and terminal that a kind of terminal is weighed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610069830.9A CN105737951B (en) 2016-01-29 2016-01-29 The method and terminal that a kind of terminal is weighed

Publications (2)

Publication Number Publication Date
CN105737951A true CN105737951A (en) 2016-07-06
CN105737951B CN105737951B (en) 2018-03-27

Family

ID=56242032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610069830.9A Expired - Fee Related CN105737951B (en) 2016-01-29 2016-01-29 The method and terminal that a kind of terminal is weighed

Country Status (1)

Country Link
CN (1) CN105737951B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111780846A (en) * 2020-07-06 2020-10-16 Oppo(重庆)智能科技有限公司 Object weighing method, mobile terminal and computer readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0836162A2 (en) * 1995-03-31 1998-04-15 Spinteknology Inc. Coin hopper weighing system
JP2009162777A (en) * 2009-04-20 2009-07-23 Katsuzo Kawanishi Weight type filling device
CN101852639A (en) * 2010-02-24 2010-10-06 宇龙计算机通信科技(深圳)有限公司 Method and system for weighing weight of object at mobile terminal and mobile terminal
CN101977261A (en) * 2010-09-29 2011-02-16 惠州Tcl移动通信有限公司 Mobile phone touch screen-based electronic scale, implementation method thereof and mobile phone
TW201235921A (en) * 2011-02-22 2012-09-01 Hon Hai Prec Ind Co Ltd Weighable mobile terminal and method
CN103297574A (en) * 2013-06-13 2013-09-11 李耀强 Mobile phone with electronic scale
CN204103990U (en) * 2014-10-06 2015-01-14 谢哲怡 A kind of mobile phone group body having function of weighing
CN204305144U (en) * 2014-12-24 2015-04-29 西南大学 A kind of mobile phone with electronic scale

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0836162A2 (en) * 1995-03-31 1998-04-15 Spinteknology Inc. Coin hopper weighing system
JP2009162777A (en) * 2009-04-20 2009-07-23 Katsuzo Kawanishi Weight type filling device
CN101852639A (en) * 2010-02-24 2010-10-06 宇龙计算机通信科技(深圳)有限公司 Method and system for weighing weight of object at mobile terminal and mobile terminal
CN101977261A (en) * 2010-09-29 2011-02-16 惠州Tcl移动通信有限公司 Mobile phone touch screen-based electronic scale, implementation method thereof and mobile phone
TW201235921A (en) * 2011-02-22 2012-09-01 Hon Hai Prec Ind Co Ltd Weighable mobile terminal and method
CN103297574A (en) * 2013-06-13 2013-09-11 李耀强 Mobile phone with electronic scale
CN204103990U (en) * 2014-10-06 2015-01-14 谢哲怡 A kind of mobile phone group body having function of weighing
CN204305144U (en) * 2014-12-24 2015-04-29 西南大学 A kind of mobile phone with electronic scale

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111780846A (en) * 2020-07-06 2020-10-16 Oppo(重庆)智能科技有限公司 Object weighing method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN105737951B (en) 2018-03-27

Similar Documents

Publication Publication Date Title
CN102968338B (en) Method, device and the electronic equipment classified for the application program of electronic equipment
CN106327188B (en) Method and device for binding bank card in payment application
CN109753425B (en) Popup window processing method and device
CN105680960A (en) Automatic test method for Bluetooth card reader, test upper computer and test system
CN107729836A (en) Face identification method and Related product
EP3214593A1 (en) Contactless payment method, device and system
CN105700790B (en) A kind of screenshot method and terminal device
CN107578659A (en) Electronic title generation method and device and terminal
EP2750010A1 (en) Electronic-book page turning method and apparatus, and mobile device
WO2018028072A1 (en) Bend measurement method, device and terminal
CN107451536B (en) Biometric pattern opening method and related product
CN105677788A (en) File searching method and user terminal
CN107341122A (en) Equipment access processing method, equipment access processing unit and mobile terminal
CN110298274A (en) Optical finger print parameter upgrade method and Related product
CN108227953B (en) Character input method and related product
CN105737951A (en) Terminal weighing method and terminal
CN109885444A (en) Test method, device, storage medium and terminal device based on gesture identification
CN107517298B (en) Unlocking method and related product
CN113381479A (en) Charging method and device and electronic equipment
CN109426392A (en) For determining the method and its electronic equipment of input detection zone corresponding with user interface
CN106873856B (en) Application icon classification method and device
CN105989516B (en) A kind of method for information display and terminal
CN105573746B (en) A kind of control property processing method and processing device
CN107679222A (en) Image processing method, mobile terminal and computer-readable recording medium
CN106227692A (en) The implementation method of a kind of computer and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180327