Background technique
Traditional sewing device usually only has sewing function, and the degree of automation is low, not smart enough.In consideration of it, by calculating
Machine control can be realized automatic seam, the automatic sewing machine for the functions such as needle, trimming of being sewed, stopped by the track of setting comes into being.
But existing automatic sewing machine, in sales process, the frequent remaining fund occurred between operation side and user is not
It pays and waits economic disputes.Therefore, how to be solved these problems by intelligence and efficient technological means, become this field and need to solve
Certainly the technical issues of.
Apply for content
In view of the foregoing deficiencies of prior art, the lock control side of the application being designed to provide suitable for sewing device
Method, terminal, medium and sewing device solve automatic sewing for solving to lack effective technological means in the prior art
The operation side of equipment and the technical problems such as do not pay using the remaining fund between quotient.
In order to achieve the above objects and other related objects, the first aspect of the application provides a kind of suitable for sewing device
Locking method, which comprises obtain the locking instruction with the first use condition information from the first external equipment;Root
Judge whether the sewing device meets the use condition locked in instruction according to the operation information of sewing device;If not satisfied, then enabling
Sewing device locks, and after getting the unlock instruction from the second external equipment, and the sewing device is enabled to unlock.
In some embodiments of the application first aspect, the first use condition information includes: to sewing device
Pot life, access times and deadline any one or more of combination.
In some embodiments of the application first aspect, the permission of first external equipment, which is higher than outside second, to be set
Standby permission.
In some embodiments of the application first aspect, first external equipment makes for the operation side of sewing device
With;Second external equipment is used for the user of sewing device.
In some embodiments of the application first aspect, the permission of first external equipment includes locking sewing to set
Standby and generation unlock code, further includes the operation information for unlocking sewing device and/or reading sewing device;Second external equipment
Permission include unlock sewing device and/or read sewing device operation information.
In some embodiments of the application first aspect, the unlock code that first external equipment generates has second
Use condition information;The second use condition information include: the pot life to the sewing device after unlock, access times,
Or it does not limit.
In order to achieve the above objects and other related objects, the second aspect of the application provides a kind of sewing device comprising:
Communication module is used to establish with the first external equipment and communicate to connect, and uses item with first from the first external equipment to obtain
The locking of part information instructs, and for establishing communication connection with the second external equipment to get the solution from the second external equipment
Lock instruction;Control module judges whether the sewing device meets in locking instruction for the operation information according to sewing device
Use condition;And for enabling sewing device lock when judgement is unsatisfactory for use condition;And for getting from the
After the unlock instruction of two external equipments, the sewing device is enabled to unlock.
In some embodiments of the application second aspect, the sewing device further includes human-computer interaction module, is used for
For inputting unlock code.
In order to achieve the above objects and other related objects, the third aspect of the application provides a kind of computer-readable storage medium
Matter is stored thereon with computer program, suitable for sewing device described in realization when the computer program is executed by processor
Locking method method.
In order to achieve the above objects and other related objects, the fourth aspect of the application provides a kind of electric terminal, comprising: place
Manage device and memory;The memory is used to execute the memory storage for storing computer program, the processor
Computer program, so that the terminal executes the locking method method for being suitable for sewing device.
As described above, the application suitable for the locking method of sewing device, terminal, medium and sewing device, have
Below the utility model has the advantages that the intelligence with use condition that the application realizes sewing device locks and intelligent unlocking, help to stitch
The operation side of control equipment efficiently the lease of management sewing device and the business such as sells outside, effectively solves by technological means because of operation
Remaining fund payment problem between side and user and the dispute generated.
Specific embodiment
Illustrate presently filed embodiment below by way of specific specific example, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the application easily.The application can also pass through in addition different specific realities
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from
Various modifications or alterations are carried out under spirit herein.It should be noted that in the absence of conflict, following embodiment and implementation
Feature in example can be combined with each other.
It should be noted that with reference to attached drawing, attached drawing describes several embodiments of the application in described below.It should
Understand, other embodiments also can be used, and mechanical group can be carried out without departing substantially from spirit and scope
At, structure, electrical and operational change.Following detailed description should not be considered limiting, and the application
The range of embodiment only limited by the claims for the patent announced.Term used herein is merely to description is specific
Embodiment, and it is not intended to limit the application.The term of space correlation, for example, "upper", "lower", "left", "right", " following ", " under
Side ", " lower part ", " top ", " top " etc. can be used in the text in order to elements or features shown in explanatory diagram and another
The relationship of one elements or features.
In this application unless specifically defined or limited otherwise, term " installation ", " connected ", " connection ", " fixation ",
Terms such as " fixings " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;
It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, can also indirectly connected through an intermediary, it can be with
It is the connection inside two elements.For the ordinary skill in the art, above-mentioned art can be understood as the case may be
The concrete meaning of language in this application.
Furthermore as used in herein, singular " one ", "one" and "the" are intended to also include plural number shape
Formula, unless there is opposite instruction in context.It will be further understood that term "comprising", " comprising " show that there are the spies
Sign, operation, element, component, project, type, and/or group, but it is not excluded for one or more other features, operation, element, group
Presence, appearance or the addition of part, project, type, and/or group.Term "or" and "and/or" used herein are interpreted as including
Property, or mean any one or any combination.Therefore, " A, B or C " or " A, B and/or C " mean " it is following any one:
A;B;C;A and B;A and C;B and C;A, B and C ".Only when the combination of element, functions or operations is inherently mutual under certain modes
When repulsion, it just will appear the exception of this definition.
Automatic sewing machine be it is a kind of controlled by computer, can be realized it is automatic rise seam, by setting track sewing, stop needle,
The smart machine of the functions such as trimming.Although existing automatic sewing machine can be realized the automatic execution of sewing task, but in pin
The unpaid equal economic disputes of remaining fund during selling, often between appearance operation side and user.
It is present in the problems of the prior art in view of above-mentioned, the main idea of the present application lies in that providing intelligence and efficient solution
Certainly scheme, to help the operation side of sewing device effectively to manage the remaining fund problem of sewing device.
For convenient for those skilled in the art understand that the application technical solution, be explained now in conjunction with Fig. 1.Fig. 1 exhibition
What is shown is the application scenarios of the application sewing device in one embodiment, in the scene, sewing device 11 respectively with first outside
Portion's equipment 12 and the communication connection of the second external equipment 13, and communication link between the first external equipment 12 and the second external equipment 13
It connects.
Between sewing device 11 and the first external equipment 12, between sewing device 11 and the second external equipment 13, Yi Ji
Communication mode between one external equipment 12 and the second external equipment 13 can be based on WiFi network, 3G/4G/5G cellular mobile network
The realizations such as network, NB-IoT/ZigBee/LoRa/eMTC internet of things or bluetooth/infrared proximity network communication connection.
In some embodiments, first external equipment 12 uses for the operation side of sewing device, such as sale
Quotient, manufacturer or agent etc. use.Second external equipment 13 uses for the user of sewing device, such as
Equipment leasing quotient, equipment are used using quotient etc..First external equipment 12, the second external equipment 13 include but is not limited to such as platform
Formula computer, laptop, tablet computer, smart phone, smart television, personal digital assistant (Personal Digital
Assistant, abbreviation PDA) etc. PCs.
In some embodiments, there are remaining fund payment problems between the operation side and user of sewing device, therefore, sewing
It is the use condition that sewing device 11 sets user that the operation side of equipment, which passes through the first external equipment 12, such as is set using secondary
Number, pot life or the deadline used etc..Expiring access times, the pot life is being already expired, or arrived deadline
When phase, sewing device just automatic locking and do not continue to run, until receive user offer unlock instruction after
It can continue to run.
It should be noted that use condition in the present embodiment can by between operation side and user contract or agreement in
Depending on appearance, the use condition of sewing device can be adjusted according to remaining fund situation, such as: it can be according to the payment for goods ratio that user pays in advance
The pot life of example setting sewing device, use deadline or access times etc..When those use conditions no longer meet
When, sewing device is just lockable without continuing to run, and sewing device only has and due-in can weigh to after the unlock code of user
New unlock operation.
Wherein, the unlock code of user is generated and is transmitted by operation side, such as: user after sewing device is locked,
It is contacted with operator and decides through consultation and solve the problems, such as remaining fund, the unlock code from operator can be received after deciding through consultation, to reopen seam
Control equipment.The unlock code can be the unlock code that do not limit, namely thoroughly unlock the sewing device;Alternatively, unlock code can also
It is attached with the use conditions such as pot life or access times.The application solves operation side by effective technological means as a result,
Remaining fund payment problem between user.
Above, corresponding explanation has been done with regard to the application scenarios of the application in one embodiment.It hereafter, will be in conjunction with applicable
Explanation is further explained in the locking method of sewing device.
As shown in Fig. 2, showing the flow diagram for being suitable for the locking method of sewing device in one embodiment of the application.It needs
It is noted that in some embodiments, the locking method can be applied to controller, as ARM controller, FPGA are controlled
Device, SoC controller, dsp controller etc..In other embodiments, the locking method can also be applied to include storage
Device, storage control, one or more processing unit (CPU), Peripheral Interface, RF circuit, voicefrequency circuit, loudspeaker, microphone,
Input/output (I/O) subsystem, display screen, other outputs or the computer for controlling the components such as equipment and outside port;Institute
Stating computer includes but is not limited to such as desktop computer, laptop, tablet computer, smart phone, smart television, individual digital
The PCs such as assistant (Personal Digital Assistant, abbreviation PDA).Also in some embodiments, the lock
Prosecutor method can also be applied to server, and the server can be arranged in one or more according to many factors such as function, loads
In property server, it can also be made of server cluster be distributed or concentration.In this regard, the application and with no restriction.
In this present embodiment, suitable for the locking method of sewing device include step S21, step S22, step S23 and
Step S24.
In the step s 21, the locking instruction with the first use condition information from the first external equipment is obtained.
In some embodiments, after sewing device and the binding of the first external equipment, adding from the first external equipment is received
Lock instruction.For example, every sewing device is equipped with unique identity, and the identity of sewing device can both identify sequence
The mode of row number is presented, and can also be presented with patterned fashions such as two dimensional code or bar codes.The user of first external equipment can pass through
It is manually entered mark sequence number, or the first external equipment and sewing device can also be bound by way of scan pattern.
In some embodiments, the first use condition information includes: the pot life to sewing device, using secondary
Number, deadline or pot life, access times, the combination of two in deadline or three's combination.Use condition can
By between operation side and user contract or protocol contents depending on, can according to remaining fund situation adjust sewing device use item
Part, such as: the hourage that can be used according to the payment for goods ratio setting sewing device that user pays in advance, access times, or
Use deadline etc..
In step S22, judge whether the sewing device meets in locking instruction according to the operation information of sewing device
Use condition.
In some embodiments, sentenced according to operation informations such as the runing time of sewing device, number of run, current dates
The conditions such as disconnected pot life, access times, the deadline whether met in use condition.
In step S23, if not satisfied, then sewing device is enabled to lock, and the solution from the second external equipment is being got
After lock instruction, the sewing device is enabled to unlock.
In some embodiments, after sewing device and the binding of the second external equipment, the solution from the second external equipment is received
Lock instruction.For example, every sewing device is equipped with unique identity, and the identity of sewing device can both identify sequence
The mode of row number is presented, and can also be presented with patterned fashions such as two dimensional code or bar codes.The user of second external equipment can pass through
It is manually entered mark sequence number, or the second external equipment and sewing device can also be bound by way of scan pattern.
In some embodiments, the permission of first external equipment is higher than the permission of the second external equipment.To manage
For square and user: the permission for the first external equipment that operation side uses includes locking sewing device and generation unlock code,
It further include the operation information for unlocking sewing device and/or reading sewing device;For the power for the second external equipment that user uses
Limit includes unlock sewing device and/or the operation information for reading sewing device.Wherein, the operation information of sewing device includes operation
The information such as time, current operating conditions and equipment basic parameter.
In some embodiments, the unlock code that first external equipment generates has the second use condition information;Institute
The second use condition information is stated to include: the pot life to the sewing device after unlock, access times or do not limit.Specifically
For, after sewing device is lockable, user can contact operation side by the second external equipment, and operation side passes through outside first
Equipment generates unlock code, and the unlock code is sent to the second external equipment.Unlock code can be the unlock code that do not limit, namely
Sewing device is used without limitation;Unlock code is also possible to the unlock code with information such as pot life or access times.
In step s 24, if satisfied, sewing device is then enabled to keep unlocking condition.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of computer program is crossed to complete.Computer program above-mentioned can store in a computer readable storage medium
In.When being executed, execution includes the steps that above-mentioned each method embodiment to the program;And storage medium above-mentioned include: ROM,
The various media that can store program code such as RAM, magnetic or disk.
As shown in figure 3, showing the structural schematic diagram of sewing device in one embodiment of the application.The sewing device includes logical
Interrogate module 31, control module 32 and human-computer interaction module 33.
Communication module 31 is used to obtain the locking instruction with the first use condition information from the first external equipment, with
And for getting the unlock instruction from the second external equipment.Control module 32 according to the operation information of sewing device for sentencing
Break the sewing device whether meet lock instruction in use condition;And for enabling seam when judgement is unsatisfactory for use condition
Control equipment locks;And for after getting the unlock instruction from the second external equipment, enabling the sewing device unlock.
Human-computer interaction module 33 is used for for inputting unlock code.For example, human-computer interaction module 33 may include a control plane
Plate, the control panel are, for example, touch control panel, push type control panel or push button control panel etc., sheet
Application is not construed as limiting this.
It should be noted that the embodiment of the sewing device in the present embodiment with above be suitable for sewing device
The embodiment of locking method is similar, and so it will not be repeated.It is further to note that it should be understood that the modules of the above equipment
The division for dividing a kind of only logic function, can completely or partially be integrated on a physical entity in actual implementation,
It can be physically separate.And these modules can be realized all by way of processing element calls with software;It can also be whole
It realizes in the form of hardware;It can be realized in the form of part of module calls software by processing element, part of module passes through hard
The form of part is realized.For example, control module can be the processing element individually set up, also can integrate in a certain of above equipment
It is realized in a chip, in addition it is also possible to be stored in the form of program code in the memory of above equipment, by above equipment
Some processing element calls and executes the function of the above control module.The realization of other modules is similar therewith.Furthermore these moulds
Block completely or partially can integrate together, can also independently realize.Processing element described here can be a kind of integrated electricity
Road, the processing capacity with signal.During realization, each step of the above method or the above modules can pass through processing
The integrated logic circuit of hardware in device element or the instruction of software form are completed.
For example, the above module can be arranged to implement one or more integrated circuits of above method, such as:
One or more specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or,
One or more microprocessors (digital signal processor, abbreviation DSP), or, one or more scene can compile
Journey gate array (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through place
When managing the form realization of element scheduler program code, which can be general processor, such as central processing unit
(Central Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules
It can integrate together, realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
As shown in figure 4, showing the structural schematic diagram of another electric terminal provided by the embodiments of the present application.This example provides
Electric terminal, comprising: processor 41, memory 42, transceiver 43, communication interface 44 and system bus 45;42 He of memory
Communication interface 44 connect with processor 41 and transceiver 43 and completes mutual communication by system bus 45, and memory 42 is used
In storage computer program, communication interface 44 and transceiver 43 are used to be communicated with other equipment, and processor 41 is for running
Computer program makes electric terminal execute as above each step suitable for the locking method of sewing device.
System bus mentioned above can be Peripheral Component Interconnect standard (Peripheral Component
Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard
Architecture, abbreviation EISA) bus etc..The system bus can be divided into address bus, data/address bus, control bus etc..
Only to be indicated with a thick line in figure, it is not intended that an only bus or a type of bus convenient for indicating.Communication connects
Mouth is for realizing the communication between database access device and other equipment (such as client, read-write library and read-only library).Storage
Device may include random access memory (Random Access Memory, abbreviation RAM), it is also possible to further include non-volatile deposit
Reservoir (non-volatile memory), for example, at least a magnetic disk storage.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit,
Abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processing, abbreviation DSP), specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
In conclusion the application provides locking method, terminal, medium and the sewing device for being suitable for sewing device, it is real
The intelligence with use condition for having showed sewing device locks and intelligent unlocking, and the operation side of sewing device is helped efficiently to manage
It the lease of sewing device and the business such as sells outside, effectively solves by technological means because of the remaining fund branch between operation side and user
The problem of paying and the dispute that generates.So the application effectively overcomes various shortcoming in the prior art and has high industrial utilization
Value.
The principles and effects of the application are only illustrated in above-described embodiment, not for limitation the application.It is any ripe
Know the personage of this technology all can without prejudice to spirit herein and under the scope of, carry out modifications and changes to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from spirit disclosed herein and institute under technical idea such as
At all equivalent modifications or change, should be covered by claims hereof.