Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

48results about How to "Code concise" patented technology

Page adaptation method and device, and electronic equipment

The embodiment of the invention provides a page adaptation method and device, and electronic equipment. According to a computing method of a target font size based on the width of a screen and relative style values of all page elements, the target font size suitable for the width of a screen of a mobile terminal and practical style values of all the page elements can be determined when an arbitrary mobile terminal requests to access a target page. The device can adaptively adjust the font size of the page and the element size of the page according to the width of the screen of the mobile equipment; meanwhile, only by designing a style file containing the computing method of the target font size based on the width of the screen and the relative style values of all the page elements for each page, the device can determine a practical rendering style matched with the width of an arbitrary screen, can not only reduce the workload for page design and maintenance, but also simplify style codes, improve the enforcement efficiency, reduce the page loading time and guarantee the consistency of page layout structures.
Owner:LETV HLDG BEIJING CO LTD +1

Image uploading method and system and corresponding server

The invention discloses an image uploading method which is applied to an image uploading system. The image uploading system comprises a server and at least one client. The method includes the following steps that S1, the clients upload images to the server by sending HTTP messages; S2, the server processes the images uploaded by the clients according to a preset image processing strategy and a limiting condition; S3, the server stores the processed images to an appointed directory. The invention further discloses the image uploading system and the corresponding server. By means of the image uploading method and system and the corresponding server, compatibility among mobile terminals of different systems and different types of browsers on the mobile terminals can be achieved, functional universality is fully considered, the user experience is improved, information sharing and interaction among users are achieved conveniently, the user number and the page view of application software and a website are increased, and the competition of similar products is improved.
Owner:PHICOMM (SHANGHAI) CO LTD

Flexible rope simulation method

The invention discloses a flexible rope simulation method which includes the following steps: step1, making a 3D (three dimensional) rope model; step2, loading a 3D model file made in step1 in a simulated engine scene and creating rope section entity; step3, creating a node for the corresponding rope section entity; step4, setting the space coordinates, the magnifying ratio and the rotation angle parameter of the rope section entity; step5, sequentially creating other rope section entities; step6, sequentially creating simulated bodies, called rope section bodies, with physical attributes for each rope section entity created in step5; step7, setting the physical attributes of the rope section bodies created in step6; step8, creating a collision box for each rope section entity; step9, creating joints among the simulated rope sections; step10, setting the space coordinates and the attributes of the joints; step11, adding expansion control to each rope section entity; and step12, finally forming a flexible simulated rope.
Owner:SHANDONG UNIV

Method, system and server thereof for uploading pictures

The present invention relates to the field of communications and discloses a method, a system and a server thereof for uploading pictures. According to the present invention, the method for uploading pictures comprises the following steps: judging whether the size of at least one first picture uploaded by a client exceeds a predetermined threshold or not by a server; if the size exceeds the predetermined threshold, extracting shooting parameter information in the first picture, and conducting compression processing on the first picture to obtain a second picture; adding the shooting parameter information to the second picture to obtain a third picture; and storing the third picture in the server. The method, the system and the server for uploading pictures can ensure that the uploaded pictures contain the shooting parameter information and can provide the shooting parameter information for the subsequent operations which require the shooting parameter information, to achieve the related processing of the pictures.
Owner:PHICOMM (SHANGHAI) CO LTD

Software development aided tool bag

InactiveCN102214092ACode conciseCode but practicalSpecific program execution arrangementsSQLAdaptive software development
The invention provides a Java 2 enterprise edition (J2EE) application development-based code aided tool bag. The tool bag is suitable for simplifying code quantity of object value copy and structured query language (SQL) statement generation for development personnel to a great extent under the condition that an object relational mapping (ORM) frame is not introduced, and supports agile development in a more compact and flexible mode.
Owner:PCI TECH GRP CO LTD

Intermittent smoke detection alarm device based on ESP8266

The invention discloses an intermittent smoke detection alarm device based on ESP8266. The detection alarm device comprises a casing, in which a smoke sensor, a low-power-consumption operational amplifier, a buzzer alarm and an ESP8266 module are arranged. The smoke detection alarm device relates to the technical field of detection alarm systems. One path of the smoke sensor analog quantity is connected to a comparator, and when the concentration exceeds the set threshold value, the buzzer alarm is triggered. The other path is connected to an ADC pin of the ESP8266, and the digital quantity ofthe smoke concentration is read and saved in the built-in Flash files. The digital quantity exceeds the set threshold value, WiFi is started, and the alarm information is notified to users through the Internet of Things platform. The ESP8266 module sends the historical data of smoke concentration to the platform at regular time for users to check at any time. Most of the time of the ESP8266 module is in a deep sleep mode to reduce the power consumption, and only the alarm clock is timed to the comparator, a deep sleep mode is triggered to exit and enter a working mode. The device adopts a MicroPython firmware and Python code, the functions of smoke detection and interaction communication with the platform are realized, the code is concise and the reliability is high.
Owner:ZHEJIANG POLICE COLLEGE

Two-dimensional ground penetrating radar three-dimensional imaging method based on MATLAB

The invention discloses a two-dimensional ground penetrating radar three-dimensional imaging method based on MATLAB. The method comprises the following steps: S1, assembling and debugging a two-dimensional ground penetrating radar; S2, performing data acquisition on each lane in an acquisition route; S3, establishing a three-dimensional imaging model; S4, performing appearance optimization and size adjustment on the three-dimensional imaging model; S5, exporting three-dimensional data; S6, performing data format conversion; S7, simulating three-dimensional reflection voltage data; S8, settingthe colors of the maximum value and the minimum value; S9, importing the three-dimensional data into a three-dimensional imaging model to obtain a three-dimensional image; S10, performing slicing display on the abnormal position, and visually displaying the road deep layer diseases. Through the establishment and optimization of the three-dimensional model, the imaging model capable of accommodating the three-dimensional radar data is formed; after the simulated three-dimensional data is imported, three-dimensional radar imaging is realized, and an image cutting function is achieved, so an abnormal image in a road is observed.
Owner:WUHAN UNIV OF TECH

Method for splitting Chinese sentences through computer

The invention discloses a method for splitting Chinese sentences through a computer. The method includes the following steps that S1, a basic database is established; the basic database comprises a basic lexicon and a Chinese character phrase combination priority principle judgment database capable of judging the priority principle of combining phrases by single Chinese characters; S2, a Chinese sentence required to be split is matched with the basic lexicon established in S1, and the Chinese sentence required to be split is split into characters; S3, character property classification processing is conducted on the split characters obtained in S2; S4, the characters processed through character property classification processing are recombined to form Chinese phrases, and splitting of the Chinese sentence to be split is finished. According to the method, the sentences are analyzed through a method similar to chemical element analysis, the method is implemented through computer software simple in code and small in computational burden, the whole Chinese sentences are split precisely and quickly, and an effective basis guarantee is provided for Chinese sentences analysis.
Owner:SHANGHAI KEYUE INFORMATION TECH

Configuration object control method and device, storage medium and verification platform

The embodiment of the invention discloses a configuration object control method and device, a storage medium and a verification platform, and belongs to the technical field of testing. The method is used in a verification platform, the verification platform comprises a verification assembly and a test sequence, the verification assembly is used for testing a tested object according to the test sequence, and the method comprises the steps of acquiring a test case to control the verification assembly or the test sequence; analyzing the test case; obtaining control information of a first configuration object in the verification component or the test sequence, wherein the control information comprises a full path name of a first node corresponding to the first configuration object in the treenetwork, a root node in the tree network corresponds to a configuration object corresponding to the verification platform, and the rest nodes correspond to configuration objects corresponding to the verification component or configuration objects corresponding to the test sequence; acquiring control information according to the full path name by utilizing the first configuration object; and controlling the first configuration object to execute the operation indicated by the control information. The embodiment of the invention can achieve the effect of simplifying the code.
Owner:NANJING SEMIDRIVE TECH CO LTD

Object-oriented set-top box background channel development system and method thereof

The invention discloses an object-oriented set-top box background channel development system and a method thereof, in particular a frame suitable for developing background channels of a bidirectional set-top box with a web page characteristic and a TV channel characteristic. The scheme is fully object-oriented and has an extremely strong adaptive capacity. The frame is of a single tree structure and is constructed by the following main steps: 1. extracting the public properties and the methods of all channels to construct a top-layer Program class; 2. extracting the public properties and the methods of various channels and inheriting the Program class to obtain a channel type class; and 3. inheriting a corresponding program type class and adding the properties and the method of a given channel to obtain a practical channel class. The scheme uses an object-oriented method, enables the whole design module to have an extremely clear hierarchy, extracts common variable members and function members of child classes from a parent class to reduce repeated code modules and simultaneously utilizes the object-oriented polymorphism to enable the operation to be more convenient and simpler.
Owner:SUN YAT SEN UNIV

Parameter transmission method and device, computer equipment and storage medium

The embodiment of the invention discloses a parameter transmission method and device, computer equipment and a storage medium, and belongs to the technical field of programming. The method comprises the steps that a to-be-transmitted parameter is generated in response to a first function, the to-be-transmitted parameter is written into a first stack frame through the first function, and the first stack frame is a stack frame corresponding to the first function; the ith function is called through the first function, when the first function calls the i-th function, the first function is called through an i-1 layer, and i is an integer larger than or equal to 2; and the to-be-transmitted parameter is read from the first stack frame through the ith function. In the embodiment of the invention, parameter transmission is realized by utilizing the stack frame, and reserved parameters do not need to be set in the function, so that the problem of parameter transmission failure caused by the fact that the reserved parameters are not set in the function when the function is written by different developers is avoided, the success rate of parameter transmission is improved, function codes are simplified, and the memory overhead in the running process is reduced.
Owner:BIGO TECH PTE LTD

Inverse time limit overcurrent constant value optimization method based on difference-pollen algorithm

The invention discloses an inverse time limit overcurrent constant value optimization method based on a difference-pollen algorithm. The method comprises the following steps: establishing a protectionsetting coordination optimization model; drawing up an objective function and a decision variable based on the model, and initializing basic parameters of the difference-pollen algorithm; searching an optimal solution for the parameters according to specific steps of a difference-pollen algorithm; and checking whether a termination condition is satisfied based on the optimal solution, and outputting the optimal solution to complete an optimization process. According to the method, the optimization performance is greatly improved, the convergence speed is increased, the solving precision is improved, and an idea is provided for the online setting and checking problem of the inverse time limit overcurrent protection constant value in the future.
Owner:GUIZHOU POWER GRID CO LTD

Communication method and device for components in application program, equipment and storage medium

The embodiment of the invention discloses a communication method, device and equipment for components in an application program and a storage medium, and the method is applied to a message bus in a communication framework on which the application program depends, and comprises the following steps: analyzing a received message request message; if the message request message contains a first key identifier for inter-component communication, obtaining a target function component associated with the first key identifier from a predetermined first message monitoring table, so that the target function component responds to a request operation corresponding to the message request message, wherein the first message monitoring table is formed on the basis of a business logic interface class on which a functional component in the application depends on a business service layer. The problem that the source and the destination of the message cannot be clearly known when components in the application communicate with each other is solved, the effect of clearly knowing event circulation in the whole message transmission process is achieved, the code is simple, and efficient decoupling is achieved.
Owner:NANJING LINGXING TECH CO LTD

A method and system for realizing transfer business based on factory mode

The invention relates to a method and a system for realizing an account transfer business based on a factory mode. The method comprises the following steps of defining an account transfer interface according to an account transfer method corresponding to a preset account transfer business type; receiving an account transfer instruction, and creating an account transfer type object corresponding to an account transfer business type of the account transfer instruction by adopting the factory mode of a spring framework; and obtaining the corresponding account transfer interface according to the account transfer business type of the account transfer instruction, calling the account transfer interface to execute the account transfer instruction through the account transfer type object, and outputting a result of executing the account transfer instruction. According to the method and the system, different types of account transfer businesses can be intensively processed by adopting the account transfer interface, so that the account transfer business processing efficiency is improved; and the account transfer type object is created by adopting the factory mode, so that codes are concise, the reusability is good, and the problems of dispersed account transfer business processing, low account transfer business definition, numerous code redundancies and poor reusability in the prior art are solved.
Owner:北京思特奇信息技术股份有限公司

Full-automatic optical thickness gauge and refractive index/transmittance data processing method thereof

ActiveCN102494620BSolve the problem of unstable sampling dataCode conciseUsing optical meansDisplay deviceTransmittance
The invention discloses a full-automatic optical thickness gauge. According to the full-automatic optical thickness gauge, a signal output end of an analog signal acquisition device is connected with a signal input end of an analog signal preprocessing circuit; a signal output end of the analog signal preprocessing circuit is connected with a signal input end of an analog / digital (A / D) conversioncircuit; a signal output end of the A / D conversion circuit is connected with a refractive index / transmittance data signal input end of a central processing unit (CPU); and a video signal output end of the CPU is connected with a signal input end of a display. The invention also discloses a refractive index / transmittance data processing method for the full-automatic optical thickness gauge. The method comprises the following steps of: inputting refractive index / transmittance data comprising a decimal place; performing median filtering; extracting a decimal place of an effective refractive index / transmittance; processing the decimal place; judging whether an extreme value exists or not; displaying a refractive index / transmittance value, a refractive index / transmittance trend line and the number of extreme values; and performing looping execution. The thickness is accurately measured by the full-automatic optical thickness gauge, and the full-automatic optical thickness gauge has precisedata and stable and reliable results.
Owner:中科唯实科技(德阳)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products